summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-05-14 06:22:07 -0700
committerStefano Babic <sbabic@denx.de>2015-05-15 19:25:07 +0200
commitaf1db4a39034ae15a91f0dae7da9548f0501febf (patch)
treeb8f9d80b9201e8f142a92644581fff433713002e
parentea7a3c446b9f117a07fe17276eac44f07952bfff (diff)
imx: ventana: use stack relocation
Certain features we desire require a larger stack than is available by using iRAM (most notably for us, env_mmc). Relocate the stack to DRAM so that we can use these features. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--board/gateworks/gw_ventana/gw_ventana_spl.c3
-rw-r--r--configs/gwventana_defconfig2
2 files changed, 2 insertions, 3 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c
index 84d027d441a..79cb5943d0e 100644
--- a/board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/board/gateworks/gw_ventana/gw_ventana_spl.c
@@ -529,9 +529,6 @@ void board_init_f(ulong dummy)
/* disable boot watchdog */
gsc_boot_wd_disable();
-
- /* load/boot image from boot device */
- board_init_r(NULL, 0);
}
/* called from board_init_r after gd setup if CONFIG_SPL_BOARD_INIT defined */
diff --git a/configs/gwventana_defconfig b/configs/gwventana_defconfig
index c7882aca3f6..2d6552fef7e 100644
--- a/configs/gwventana_defconfig
+++ b/configs/gwventana_defconfig
@@ -3,3 +3,5 @@ CONFIG_TARGET_GW_VENTANA=y
CONFIG_SYS_MALLOC_F=y
CONFIG_SPL=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
+CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_ADDR=0x18000000