diff mbox series

[U-Boot,v2] rpi: increase SYS_BOOTM_LEN to 64M on ARM64

Message ID 20190731115629.13946-1-laurent.bonnans@here.com
State Accepted
Commit 659f4fe3c62a92f6514a652eb555b6a90038782d
Delegated to: Matthias Brugger
Headers show
Series [U-Boot,v2] rpi: increase SYS_BOOTM_LEN to 64M on ARM64 | expand

Commit Message

Bonnans, Laurent July 31, 2019, 11:59 a.m. UTC
On AArch64, kernel images are not self-decompressing and easily exceed
the 8MB limit.

Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
---
Changes for v2:
  - only override SYS_BOOTM_LEN in ARM64 case

 include/configs/rpi.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index f76c7d18ef..394377b31e 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -56,6 +56,10 @@ 
 #define CONFIG_SYS_MEMTEST_END		0x00200000
 #define CONFIG_LOADADDR			0x00200000
 
+#ifdef CONFIG_ARM64
+#define CONFIG_SYS_BOOTM_LEN		SZ_64M
+#endif
+
 /* Devices */
 /* GPIO */
 #define CONFIG_BCM2835_GPIO