diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:11:52 +1100 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:11:52 +1100 |
commit | ed4cba79d640daa33806fa228c1a10c6bf9e2101 (patch) | |
tree | b6500012ce46b0cd5ae43fdf0ff136f42e3e7133 /include | |
parent | 2e2613d2c4755426cb6bfddf1ca7714b0deec177 (diff) | |
download | u-boot-imx-ed4cba79d640daa33806fa228c1a10c6bf9e2101.zip u-boot-imx-ed4cba79d640daa33806fa228c1a10c6bf9e2101.tar.gz u-boot-imx-ed4cba79d640daa33806fa228c1a10c6bf9e2101.tar.bz2 |
x86: Use Cache-As-RAM for initial stack
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/eNET.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/configs/eNET.h b/include/configs/eNET.h index 8b55cd3..0891e1b 100644 --- a/include/configs/eNET.h +++ b/include/configs/eNET.h @@ -161,6 +161,10 @@ * 256kB Monitor */ #define CONFIG_SYS_STACK_SIZE 0x8000 +#define CONFIG_SYS_CAR_ADDR 0x19200000 +#define CONFIG_SYS_CAR_SIZE 0x00004000 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_CAR_ADDR + \ + CONFIG_SYS_CAR_SIZE) #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_MONITOR_LEN (256 * 1024) #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024) @@ -479,6 +483,22 @@ #define CONFIG_SYS_SC520_BOOTCS_PAR 0x8a01f800 /*----------------------------------------------------------------------- + * Cache-As-RAM (Targets Boot Flash) + * + * 100 1 0 0 0 0001111 011001001000000000 }- 0x903d9200 + * \ / | | | | \--+--/ \-------+--------/ + * | | | | | | +------------ Start at 0x19200000 + * | | | | | +------------------------- 64k Region Size + * | | | | | ((15 + 1) * 4kB) + * | | | | +------------------------------ 4kB Page Size + * | | | +-------------------------------- Writes Enabled + * | | +---------------------------------- Caching Enabled + * | +------------------------------------ Execution Prevented + * +--------------------------------------- BOOTCS + */ +#define CONFIG_SYS_SC520_CAR_PAR 0x903d9200 + +/*----------------------------------------------------------------------- * PAR for Low Level I/O (LEDs, Hex Switches etc) - 33 Bytes @ 0x1000, GPCS6 * * 001 110 0 000100000 0001000000000000 }- 0x38201000 |