summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2009-03-12 06:37:15 (GMT)
committerWolfgang Denk <wd@denx.de>2009-03-18 19:48:29 (GMT)
commit506f391888b82d1b83bdd749c3cea9eb2fd64df8 (patch)
tree4bdebce633040d272570c03126a1ad31a2956a75 /lib_ppc
parentcabf7b9c83bd780a5805ddbb4c0ce431d5b9f9f3 (diff)
downloadu-boot-fsl-qoriq-506f391888b82d1b83bdd749c3cea9eb2fd64df8.tar.xz
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>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 6d29303..f69c5f4 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -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