diff options
author | Heiko Schocher <hs@denx.de> | 2009-03-12 07:37:15 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-18 20:48:29 +0100 |
commit | 506f391888b82d1b83bdd749c3cea9eb2fd64df8 (patch) | |
tree | 4bdebce633040d272570c03126a1ad31a2956a75 /include/configs | |
parent | cabf7b9c83bd780a5805ddbb4c0ce431d5b9f9f3 (diff) | |
download | u-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 'include/configs')
-rw-r--r-- | include/configs/FLAGADM.h | 3 | ||||
-rw-r--r-- | include/configs/IP860.h | 3 | ||||
-rw-r--r-- | include/configs/pcu_e.h | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/FLAGADM.h b/include/configs/FLAGADM.h index d831238..0f4277c 100644 --- a/include/configs/FLAGADM.h +++ b/include/configs/FLAGADM.h @@ -173,6 +173,9 @@ #if defined(CONFIG_CMD_KGDB) #define CONFIG_SYS_CACHELINE_SHIFT 4 /* log base 2 of the above value */ #endif +#define CONFIG_SYS_DELAYED_ICACHE 1 /* enable ICache not before + * running in RAM. + */ /*----------------------------------------------------------------------- * SYPCR - System Protection Control 11-9 diff --git a/include/configs/IP860.h b/include/configs/IP860.h index b9c5713..125aa6c 100644 --- a/include/configs/IP860.h +++ b/include/configs/IP860.h @@ -209,6 +209,9 @@ #if defined(CONFIG_CMD_KGDB) #define CONFIG_SYS_CACHELINE_SHIFT 4 /* log base 2 of the above value */ #endif +#define CONFIG_SYS_DELAYED_ICACHE 1 /* enable ICache not before + * running in RAM. + */ /*----------------------------------------------------------------------- * SYPCR - System Protection Control 11-9 diff --git a/include/configs/pcu_e.h b/include/configs/pcu_e.h index 9214519..7c2bf1b 100644 --- a/include/configs/pcu_e.h +++ b/include/configs/pcu_e.h @@ -246,6 +246,9 @@ */ #define CONFIG_SYS_CACHELINE_SIZE 16 /* For all MPC8xx CPUs */ #define CONFIG_SYS_CACHELINE_SHIFT 4 /* log base 2 of the above value */ +#define CONFIG_SYS_DELAYED_ICACHE 1 /* enable ICache not before + * running in RAM. + */ /*----------------------------------------------------------------------- * SYPCR - System Protection Control 11-9 |