summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKever Yang <[email protected]>2017-02-23 16:09:05 +0800
committerSimon Glass <[email protected]>2017-03-16 16:03:46 -0600
commit3012a840ed8fcec405dd401bb826c9e0bf442222 (patch)
treea6a2955b82b1058386b20bcc6d7b96c9e59c0f1d /include
parenta82426e07319dcd76881370ba64d4dcd7c2e8312 (diff)
rockchip: arm64: rk3399: add SPL support
Add SPL support for rk3399, default with of-platdata enabled. Signed-off-by: Kever Yang <[email protected]> Reviewed-by: Simon Glass <[email protected]> Drop Kconfig changes to fix build error: Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rk3399_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index ce64476c2ec..6921f68068e 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -22,6 +22,12 @@
#define CONFIG_SYS_TEXT_BASE 0x00200000
#define CONFIG_SYS_INIT_SP_ADDR 0x00300000
#define CONFIG_SYS_LOAD_ADDR 0x00800800
+#define CONFIG_SPL_STACK 0xff8effff
+#define CONFIG_SPL_TEXT_BASE 0xff8c2008
+#define CONFIG_SPL_MAX_SIZE 0x30000
+/* BSS setup */
+#define CONFIG_SPL_BSS_START_ADDR 0xff8e0000
+#define CONFIG_SPL_BSS_MAX_SIZE 0x10000
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */