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>
This commit is contained in:
parent
00cc5595a7
commit
9c2d63ec0e
|
@ -339,9 +339,6 @@ init_fnc_t *init_sequence[] = {
|
||||||
#if defined(CONFIG_HARD_SPI)
|
#if defined(CONFIG_HARD_SPI)
|
||||||
init_func_spi,
|
init_func_spi,
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_DTT) /* Digital Thermometers and Thermostats */
|
|
||||||
dtt_init,
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_POST
|
#ifdef CONFIG_POST
|
||||||
post_init_f,
|
post_init_f,
|
||||||
#endif
|
#endif
|
||||||
|
@ -1072,6 +1069,9 @@ void board_init_r (gd_t *id, ulong dest_addr)
|
||||||
|
|
||||||
WATCHDOG_RESET ();
|
WATCHDOG_RESET ();
|
||||||
|
|
||||||
|
#if defined(CONFIG_DTT) /* Digital Thermometers and Thermostats */
|
||||||
|
dtt_init ();
|
||||||
|
#endif
|
||||||
#if defined(CONFIG_CMD_SCSI)
|
#if defined(CONFIG_CMD_SCSI)
|
||||||
WATCHDOG_RESET ();
|
WATCHDOG_RESET ();
|
||||||
puts ("SCSI: ");
|
puts ("SCSI: ");
|
||||||
|
|
Loading…
Reference in New Issue