summaryrefslogtreecommitdiff
path: root/include/configs/rk3368_common.h
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-10-18 10:54:16 +0300
committerKever Yang <kever.yang@rock-chips.com>2019-11-10 15:40:20 +0300
commit6024467bcc0e38fb5f1d2d80b73e770c94e4530c (patch)
tree585fb3a3eba902fce52687f7e8c224f3d7228c20 /include/configs/rk3368_common.h
parent006ab58d4636124f617174fa2dfe24739874ee91 (diff)
downloadu-boot-6024467bcc0e38fb5f1d2d80b73e770c94e4530c.tar.xz
rockchip: config: update CONFIG_SPL_MAX_SIZE for 64bit CPUs
Since we move the ATF bl31 entry for 64bit CPUs to 0x40000, we need to limit the SPL size in 0x40000(start from 0) so that we don't need to do the relocate for ATF loading. Note that there will be separate BSS, STACK and MALLOC heap, so the size 0x40000(256KB) should be enough for SPL text. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/configs/rk3368_common.h')
-rw-r--r--include/configs/rk3368_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h
index e4b2114a0d..e57d0efa7f 100644
--- a/include/configs/rk3368_common.h
+++ b/include/configs/rk3368_common.h
@@ -27,7 +27,7 @@
#define CONFIG_SYS_INIT_SP_ADDR 0x00300000
#define CONFIG_SYS_LOAD_ADDR 0x00280000
-#define CONFIG_SPL_MAX_SIZE 0x60000
+#define CONFIG_SPL_MAX_SIZE 0x40000
#define CONFIG_SPL_BSS_START_ADDR 0x400000
#define CONFIG_SPL_BSS_MAX_SIZE 0x20000
#define CONFIG_SPL_STACK 0x00188000