瀏覽代碼

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>
Tim Harvey 10 年之前
父節點
當前提交
af1db4a390
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 0 3
      board/gateworks/gw_ventana/gw_ventana_spl.c
  2. 2 0
      configs/gwventana_defconfig

+ 0 - 3
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 */

+ 2 - 0
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