[U-Boot] [PATCH 8/8] rockchip: rk3328: add config option for TPL/SPL
Kever Yang
kever.yang at rock-chips.com
Thu Oct 26 07:11:36 UTC 2017
Enable SPL_FRAMEWORK and TPL/SPL related base addr and size.
Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---
include/configs/rk3328_common.h | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h
index 9819b22..7040948 100644
--- a/include/configs/rk3328_common.h
+++ b/include/configs/rk3328_common.h
@@ -14,12 +14,20 @@
#define CONFIG_SYS_CBSIZE 1024
#define CONFIG_SKIP_LOWLEVEL_INIT
+#define CONFIG_SPL_FRAMEWORK
+
#define CONFIG_SYS_NS16550_MEM32
#define CONFIG_SYS_TEXT_BASE 0x00200000
#define CONFIG_SYS_INIT_SP_ADDR 0x00300000
#define CONFIG_SYS_LOAD_ADDR 0x00800800
-
+#define CONFIG_SPL_STACK 0x00400000
+#define CONFIG_SPL_TEXT_BASE 0x00000000
+#define CONFIG_SPL_MAX_SIZE 0x10000
+#define CONFIG_SPL_BSS_START_ADDR 0x2000000
+#define CONFIG_SPL_BSS_MAX_SIZE 0x2000
+#define CONFIG_TPL_STACK 0xff098000
+#define CONFIG_TPL_TEXT_BASE 0xff091000
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */
/* MMC/SD IP block */
--
1.9.1
More information about the U-Boot
mailing list