diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-12-18 19:11:02 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-12-18 23:34:25 +0900 |
commit | 7e421d640b3af31b7d9376c0ebb55833ab3e2aa0 (patch) | |
tree | 14c3d89dc06e7cd21bfe2459fd03359e9d433437 | |
parent | d4d45ead23be5d45a289d78f0cccd32a2f2c770b (diff) | |
download | u-boot-imx-7e421d640b3af31b7d9376c0ebb55833ab3e2aa0.zip u-boot-imx-7e421d640b3af31b7d9376c0ebb55833ab3e2aa0.tar.gz u-boot-imx-7e421d640b3af31b7d9376c0ebb55833ab3e2aa0.tar.bz2 |
ARM: UniPhier: use DRAM area for init stack of normal image
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>
-rw-r--r-- | include/configs/uniphier.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index dd022fb..ed22111 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -273,7 +273,11 @@ #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 |