summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx/start.S
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2009-03-12 07:37:15 +0100
committerWolfgang Denk <wd@denx.de>2009-03-18 20:48:29 +0100
commit506f391888b82d1b83bdd749c3cea9eb2fd64df8 (patch)
tree4bdebce633040d272570c03126a1ad31a2956a75 /cpu/mpc8xx/start.S
parentcabf7b9c83bd780a5805ddbb4c0ce431d5b9f9f3 (diff)
downloadu-boot-imx-506f391888b82d1b83bdd749c3cea9eb2fd64df8.zip
u-boot-imx-506f391888b82d1b83bdd749c3cea9eb2fd64df8.tar.gz
u-boot-imx-506f391888b82d1b83bdd749c3cea9eb2fd64df8.tar.bz2
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 'cpu/mpc8xx/start.S')
-rw-r--r--cpu/mpc8xx/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc8xx/start.S b/cpu/mpc8xx/start.S
index 45c902e..8864c37 100644
--- a/cpu/mpc8xx/start.S
+++ b/cpu/mpc8xx/start.S
@@ -142,7 +142,7 @@ boot_warm:
lis r3, IDC_DISABLE@h /* Disable data cache */
mtspr DC_CST, r3
-#if !(defined(CONFIG_IP860) || defined(CONFIG_PCU_E) || defined (CONFIG_FLAGADM))
+#if !defined(CONFIG_SYS_DELAYED_ICACHE)
/* On IP860 and PCU E,
* we cannot enable IC yet
*/