diff options
author | Heiko Schocher <hs@denx.de> | 2009-02-25 12:28:32 +0100 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2009-03-02 09:21:20 +0100 |
commit | 9c2d63ec0e9520948b6d598ea32e9aa4e0de847f (patch) | |
tree | d0f4b3580b007098c2768f34bc5bb66df10deab7 /lib_ppc | |
parent | 00cc5595a7caac8066b408774383a956c2e26797 (diff) | |
download | u-boot-imx-9c2d63ec0e9520948b6d598ea32e9aa4e0de847f.zip u-boot-imx-9c2d63ec0e9520948b6d598ea32e9aa4e0de847f.tar.gz u-boot-imx-9c2d63ec0e9520948b6d598ea32e9aa4e0de847f.tar.bz2 |
i2c, dtt: move dtt_init () to board_init_r ()
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>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | 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 3bcfb45..6d29303 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 @@ -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: "); |