From: Bonnans, Laurent <laurent.bonnans@here.com>
Date: Wed, 31 Jul 2019 11:59:41 +0000 (+0000)
Subject: rpi: increase SYS_BOOTM_LEN to 64M on ARM64
X-Git-Tag: v2025.01-rc5-pxa1908~2797^2~8
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=659f4fe3c62a92f6514a652eb555b6a90038782d;p=u-boot.git

rpi: increase SYS_BOOTM_LEN to 64M on ARM64

On AArch64, kernel images are not self-decompressing and easily exceed
the 8MB limit.

Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---

diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index 8473cecd94..77d2d5458a 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -55,6 +55,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