]> git.sur5r.net Git - u-boot/commitdiff
ARM: UniPhier: use DRAM area for init stack of normal image
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 18 Dec 2014 10:11:02 +0000 (19:11 +0900)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 18 Dec 2014 14:34:25 +0000 (23:34 +0900)
The normal image is working on DRAM.  It is better to use DRAM also
for init stack than L2 cache.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
include/configs/uniphier.h

index dd022fb52da88ff7121a5cb7c283eda0191c9acd..ed2211190c3a662b8a7628dcf944235292d1e57e 100644 (file)
 #define CONFIG_SYS_SPL_MALLOC_START    (0x0ff00000)
 #define CONFIG_SYS_SPL_MALLOC_SIZE     (0x00004000)
 
+#ifdef CONFIG_SPL_BUILD
 #define CONFIG_SYS_INIT_SP_ADDR                (0x0ff08000)
+#else
+#define CONFIG_SYS_INIT_SP_ADDR                ((CONFIG_SYS_TEXT_BASE) - 0x00001000)
+#endif
 
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_NAND_SUPPORT