* [U-Boot] [PATCH] i2c, dtt: move dtt_init () to board_init_r ()
@ 2009-02-25 12:39 Heiko Schocher
2009-03-02 8:39 ` Heiko Schocher
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Schocher @ 2009-02-25 12:39 UTC (permalink / raw)
To: u-boot
it is not necessary to init the DTTs so early,
so move this init to board_init_r ().
Signed-off-by: Heiko Schocher <hs@denx.de>
---
lib_ppc/board.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index f1b62f5..45c87d6 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -339,9 +339,6 @@ init_fnc_t *init_sequence[] = {
#if defined(CONFIG_HARD_SPI)
init_func_spi,
#endif
-#if defined(CONFIG_DTT) /* Digital Thermometers and Thermostats */
- dtt_init,
-#endif
#ifdef CONFIG_POST
post_init_f,
#endif
@@ -993,6 +990,9 @@ void board_init_r (gd_t *id, ulong dest_addr)
WATCHDOG_RESET ();
+#if defined(CONFIG_DTT) /* Digital Thermometers and Thermostats */
+ dtt_init ();
+#endif
#if defined(CONFIG_CMD_SCSI)
WATCHDOG_RESET ();
puts ("SCSI: ");
--
1.6.0.6
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] i2c, dtt: move dtt_init () to board_init_r ()
2009-02-25 12:39 [U-Boot] [PATCH] i2c, dtt: move dtt_init () to board_init_r () Heiko Schocher
@ 2009-03-02 8:39 ` Heiko Schocher
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Schocher @ 2009-03-02 8:39 UTC (permalink / raw)
To: u-boot
Hello Heiko,
Heiko Schocher wrote:
> it is not necessary to init the DTTs so early,
> so move this init to board_init_r ().
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
Applied to u-boot-i2c.git
bye
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-02 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-25 12:39 [U-Boot] [PATCH] i2c, dtt: move dtt_init () to board_init_r () Heiko Schocher
2009-03-02 8:39 ` Heiko Schocher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox