summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNico Cheng <nico.cheng@rock-chips.com>2021-10-26 05:42:19 +0300
committerKever Yang <kever.yang@rock-chips.com>2021-12-24 06:10:24 +0300
commitdaec31e5cca7214d41d6dbfcfaef92c1ec308c90 (patch)
tree7818df499de917d5fef534d3d71fd67ec45bd5ea /include
parentb774be9de5db9022a52829b6253d1502fba68c01 (diff)
downloadu-boot-daec31e5cca7214d41d6dbfcfaef92c1ec308c90.tar.xz
rockchip: Kconfig: Enable SPL support for rk3568
Enable SPL support in Kconfig and add some related option in rk3568_common.h Signed-off-by: Nico Cheng <nico.cheng@rock-chips.com> Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rk3568_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/rk3568_common.h b/include/configs/rk3568_common.h
index afe5050e4d..25d7c5cc8f 100644
--- a/include/configs/rk3568_common.h
+++ b/include/configs/rk3568_common.h
@@ -16,6 +16,12 @@
#define CONFIG_IRAM_BASE 0xfdcc0000
#define CONFIG_SYS_INIT_SP_ADDR 0x00c00000
+
+#define CONFIG_SPL_STACK 0x00400000
+#define CONFIG_SPL_MAX_SIZE 0x20000
+#define CONFIG_SPL_BSS_START_ADDR 0x4000000
+#define CONFIG_SPL_BSS_MAX_SIZE 0x4000
+
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */
#define CONFIG_SYS_SDRAM_BASE 0