diff mbox series

[2/8] rockchip: rk3368: set CONFIG_SYS_BOOTM_LEN to 64MB

Message ID 20210209134710.2313240-3-heiko@sntech.de
State Accepted
Commit e436c499dc99d4b768eb6a9a99ce06dc7a81cb3a
Delegated to: Kever Yang
Headers show
Series rockchip: resurrect rk3368 functionality and make lion bootable again | expand

Commit Message

Heiko Stuebner Feb. 9, 2021, 1:47 p.m. UTC
From: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>

Mimicing for example the rk3399, set the SYS_BOOTM_LEN to 64MB so
that regular kernel images can get loaded without problems.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
---
 include/configs/rk3368_common.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h
index 86498b4c82..fbbb8cf267 100644
--- a/include/configs/rk3368_common.h
+++ b/include/configs/rk3368_common.h
@@ -31,6 +31,8 @@ 
 #define CONFIG_SPL_BSS_MAX_SIZE         0x20000
 #define CONFIG_SPL_STACK                0x00188000
 
+#define CONFIG_SYS_BOOTM_LEN	(64 << 20)	/* 64M */
+
 #ifndef CONFIG_SPL_BUILD
 #define ENV_MEM_LAYOUT_SETTINGS \
 	"scriptaddr=0x00500000\0" \