From: Masahiro Yamada Date: Thu, 18 Dec 2014 19:11:02 +0900 Subject: [U-Boot] [PATCH 3/5] ARM: UniPhier: use DRAM area for init stack of normal image In-Reply-To: <1418897464-25779-1-git-send-email-yamada.m@jp.panasonic.com> References: <1418897464-25779-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <1418897464-25779-4-git-send-email-yamada.m@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/configs/uniphier.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 1.9.1