8xx, icache: enabling ICache not before running from RAM
with the new CONFIG_SYS_DELAYED_ICACHE config option, ICache is not enabled before code runs from RAM. Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
committed by
Wolfgang Denk
parent
cabf7b9c83
commit
506f391888
@@ -736,8 +736,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
|
||||
|
||||
WATCHDOG_RESET();
|
||||
|
||||
#if defined(CONFIG_IP860) || defined(CONFIG_PCU_E) || \
|
||||
defined (CONFIG_FLAGADM) || defined(CONFIG_MPC83XX)
|
||||
#if defined(CONFIG_SYS_DELAYED_ICACHE) || defined(CONFIG_MPC83XX)
|
||||
icache_enable (); /* it's time to enable the instruction cache */
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user