[PATCH 2/8] rockchip: rk3368: set CONFIG_SYS_BOOTM_LEN to 64MB
Heiko Stuebner
heiko at sntech.de
Tue Feb 9 14:47:04 CET 2021
From: Heiko Stuebner <heiko.stuebner at 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 at theobroma-systems.com>
---
include/configs/rk3368_common.h | 2 ++
1 file changed, 2 insertions(+)
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" \
--
2.29.2
More information about the U-Boot
mailing list