rockchip: px5: update SPL size for spl/tpl
authorKever Yang <kever.yang@rock-chips.com>
Fri, 29 Mar 2019 14:48:26 +0000 (22:48 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 8 May 2019 09:34:12 +0000 (17:34 +0800)
Use larger space for load bl31 in SPL

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Andy Yan <andy.yan@rock-chips.com>
include/configs/evb_px5.h
include/configs/rk3368_common.h

index e67bee17215582f8e97d55ae64ea42deed4e1e94..e9304206bb12addd9f43f52b6c8e793877775efc 100644 (file)
@@ -9,5 +9,6 @@
 #include <configs/rk3368_common.h>
 
 #define CONFIG_CONSOLE_SCROLL_LINES    10
+#define CONFIG_SYS_MMC_ENV_DEV 0
 
 #endif
index bb2e96ba05d0363f90bbeea8d50a005fe62da024..13630ba386cf8b18ed3932c46996b83624d7abe8 100644 (file)
 #define CONFIG_SYS_INIT_SP_ADDR                0x00300000
 #define CONFIG_SYS_LOAD_ADDR           0x00280000
 
-#define CONFIG_SPL_MAX_SIZE             0x40000
+#define CONFIG_SPL_MAX_SIZE             0x60000
 #define CONFIG_SPL_BSS_START_ADDR       0x400000
 #define CONFIG_SPL_BSS_MAX_SIZE         0x20000
+#define CONFIG_SPL_STACK                0x00188000
 
 #ifndef CONFIG_SPL_BUILD
 #define ENV_MEM_LAYOUT_SETTINGS \