From 659f4fe3c62a92f6514a652eb555b6a90038782d Mon Sep 17 00:00:00 2001
From: "Bonnans, Laurent" <laurent.bonnans@here.com>
Date: Wed, 31 Jul 2019 11:59:41 +0000
Subject: [PATCH] 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>
---
 include/configs/rpi.h | 4 ++++
 1 file changed, 4 insertions(+)

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
-- 
2.39.5