]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
imx: ventana: use stack relocation
authorTim Harvey <tharvey@gateworks.com>
Thu, 14 May 2015 13:22:07 +0000 (06:22 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 13:00:31 +0000 (15:00 +0200)
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>
board/gateworks/gw_ventana/gw_ventana_spl.c
configs/gwventana_defconfig

index 84d027d441a30bbd5d665e065aa96f0154b4a8b4..79cb5943d0ef38c932aa49b9fc78df81838066ac 100644 (file)
@@ -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 */
index d6bbdc1742b90d72a8f9e00642c1dea0dc536899..b28fe4b9fb9869a42c94cc018f2e5b7a8ed3e927 100644 (file)
@@ -3,3 +3,5 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 CONFIG_ARM=y
 CONFIG_TARGET_GW_VENTANA=y
 CONFIG_SYS_MALLOC_F=y
+CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_ADDR=0x18000000