diff options
author | Stefan Roese <sr@denx.de> | 2008-01-30 13:48:28 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-02-04 10:47:40 (GMT) |
commit | 28d77d968bfe0316deb5bf15c17f57d5ff2c8821 (patch) | |
tree | 3abcd5c43ace3bdfcdedff146fb123c77147a4b0 /cpu/ppc4xx | |
parent | 2c5260f711168d5ee91c70ddbb7d897013eefc46 (diff) | |
download | u-boot-28d77d968bfe0316deb5bf15c17f57d5ff2c8821.tar.xz |
ppc4xx: Fix problem with init-ram bigger than 4k on 440 platforms
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r-- | cpu/ppc4xx/start.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S index 77c2aa4..0638024 100644 --- a/cpu/ppc4xx/start.S +++ b/cpu/ppc4xx/start.S @@ -110,6 +110,10 @@ # endif #endif /* CFG_INIT_DCACHE_CS */ +#if (defined(CFG_INIT_RAM_DCACHE) && (CFG_INIT_RAM_END > (4 << 10))) +#error Only 4k of init-ram is supported - please adjust CFG_INIT_RAM_END! +#endif + #define function_prolog(func_name) .text; \ .align 2; \ .globl func_name; \ |