Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
[kernel/u-boot.git] / cpu / ppc4xx / start.S
index c29c87b..d8df67b 100644 (file)
 # 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; \