From: Neil Armstrong <neil.armstrong@linaro.org>
Date: Wed, 16 Oct 2024 09:25:32 +0000 (+0200)
Subject: ARM: mach-snapdragon: configure a larger default SYS_MALLOC_LEN for fastboot
X-Git-Tag: v2025.01-rc5-pxa1908~95^2~15
X-Git-Url: http://git.dujemihanovic.xyz/img/login.html?a=commitdiff_plain;h=c75a535bd3e853d0a0842f9b180cb611455c433e;p=u-boot.git

ARM: mach-snapdragon: configure a larger default SYS_MALLOC_LEN for fastboot

Fastboot is very hungry when it flashes larges chunks, and 8MiB
is way too small, allocate a much bigger size like other platforms
using Fastboot.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Tested-by: Caleb Connolly <caleb.connolly@linaro.org> # rb1
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
---

diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
index 536960b83c..2985d9d3ca 100644
--- a/arch/arm/mach-snapdragon/Kconfig
+++ b/arch/arm/mach-snapdragon/Kconfig
@@ -11,6 +11,9 @@ config SYS_VENDOR
 	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
 	  will be used as the custom board directory.
 
+config SYS_MALLOC_LEN
+	default 0x10000000
+
 config SYS_MALLOC_F_LEN
 	default 0x2000