summaryrefslogtreecommitdiff
path: root/include/configs/alt.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-10-31 16:16:28 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-11-04 08:59:40 +0900
commitc9b59bf795804a25b9654e729a491363ef9e6a54 (patch)
tree36c0f9e02da9a0b55a3ac7f74bdd889bda803b69 /include/configs/alt.h
parent69191fedf49671cfed7de7067f2193c227e18ad1 (diff)
downloadu-boot-imx-c9b59bf795804a25b9654e729a491363ef9e6a54.zip
u-boot-imx-c9b59bf795804a25b9654e729a491363ef9e6a54.tar.gz
u-boot-imx-c9b59bf795804a25b9654e729a491363ef9e6a54.tar.bz2
arm: rmobile: alt: Add external RAM boot
If CONFIG_RMOBILE_EXTRAM_BOOT is enabled, U-Boot is booted from External RAM. The default boot address is 0x70000000. Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs/alt.h')
-rw-r--r--include/configs/alt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/alt.h b/include/configs/alt.h
index 7238f68..5a19096 100644
--- a/include/configs/alt.h
+++ b/include/configs/alt.h
@@ -34,7 +34,11 @@
#define CONFIG_CMD_SF
#define CONFIG_CMD_SPI
+#if defined(CONFIG_RMOBILE_EXTRAM_BOOT)
+#define CONFIG_SYS_TEXT_BASE 0x70000000
+#else
#define CONFIG_SYS_TEXT_BASE 0xE6304000
+#endif
#define CONFIG_SYS_THUMB_BUILD
#define CONFIG_SYS_GENERIC_BOARD
@@ -59,7 +63,11 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_TMU_TIMER
+#if defined(CONFIG_RMOBILE_EXTRAM_BOOT)
+#define CONFIG_SYS_INIT_SP_ADDR 0x7003FFFC
+#else
#define CONFIG_SYS_INIT_SP_ADDR 0xE633FFFC
+#endif
#define STACK_AREA_SIZE 0xC000
#define LOW_LEVEL_MERAM_STACK \
(CONFIG_SYS_INIT_SP_ADDR + STACK_AREA_SIZE - 4)