From: Vladimir Vid <vladimir.vid@sartura.hr>
Date: Mon, 7 Sep 2020 06:56:45 +0000 (+0200)
Subject: arm64: a37xx: increase CONFIG_SYS_BOOTM_LEN to 64MB
X-Git-Tag: v2025.01-rc5-pxa1908~2204^2~5
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=6728da5ce90a659effc46e80e383985d62a7a026;p=u-boot.git

arm64: a37xx: increase CONFIG_SYS_BOOTM_LEN to 64MB

Increase max gunzip size, required for booting itb recovery images on
uDPU.

Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
[a.heider: adapt to mainline]
Signed-off-by: Andre Heider <a.heider@gmail.com>
---

diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
index 905ce09b7a..27428d5a0f 100644
--- a/include/configs/mvebu_armada-37xx.h
+++ b/include/configs/mvebu_armada-37xx.h
@@ -6,6 +6,8 @@
 #ifndef _CONFIG_MVEBU_ARMADA_37XX_H
 #define _CONFIG_MVEBU_ARMADA_37XX_H
 
+#include <linux/sizes.h>
+
 /*
  * High Level Configuration Options (easy to change)
  */
@@ -13,6 +15,8 @@
 /* additions for new ARM relocation support */
 #define CONFIG_SYS_SDRAM_BASE	0x00000000
 
+#define CONFIG_SYS_BOOTM_LEN	SZ_64M /* Increase max gunzip size */
+
 /* auto boot */
 
 #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, \