summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-30 14:48:28 +0100
committerStefan Roese <sr@denx.de>2008-02-04 11:47:40 +0100
commit28d77d968bfe0316deb5bf15c17f57d5ff2c8821 (patch)
tree3abcd5c43ace3bdfcdedff146fb123c77147a4b0 /cpu/ppc4xx
parent2c5260f711168d5ee91c70ddbb7d897013eefc46 (diff)
downloadu-boot-imx-28d77d968bfe0316deb5bf15c17f57d5ff2c8821.zip
u-boot-imx-28d77d968bfe0316deb5bf15c17f57d5ff2c8821.tar.gz
u-boot-imx-28d77d968bfe0316deb5bf15c17f57d5ff2c8821.tar.bz2
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.S4
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; \