]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
i2c, dtt: move dtt_init () to board_init_r ()
authorHeiko Schocher <hs@denx.de>
Wed, 25 Feb 2009 11:28:32 +0000 (12:28 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 2 Mar 2009 08:21:20 +0000 (09:21 +0100)
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

index 3bcfb45319a94a2b19ddff9f8bf1fd699a13776a..6d2930376ecb7143d6377f1379ec4411490c13aa 100644 (file)
@@ -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
@@ -1072,6 +1069,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:  ");