In case where a board not uses CONFIG_POST, it is not
necessary to init the DTTs when running from flash.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
#if defined(CONFIG_HARD_SPI)
init_func_spi,
#endif
+#ifdef CONFIG_POST
#if defined(CONFIG_DTT) /* Digital Thermometers and Thermostats */
dtt_init,
#endif
-#ifdef CONFIG_POST
post_init_f,
#endif
INIT_FUNC_WATCHDOG_RESET
WATCHDOG_RESET ();
+#if defined(CONFIG_DTT) && !defined(CONFIG_POST)
+ dtt_init ();
+#endif
#if defined(CONFIG_CMD_SCSI)
WATCHDOG_RESET ();
puts ("SCSI: ");