From: Eugen Hristev <eugen.hristev@microchip.com>
Date: Thu, 29 Apr 2021 11:58:21 +0000 (+0300)
Subject: configs: sama7g5ek: increase bootm len
X-Git-Tag: v2025.01-rc5-pxa1908~1819^2~10^2~6
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/html/index.html?a=commitdiff_plain;h=0b4f0081746369bb1954cfeb1cfb1d3b4ff3e6b0;p=u-boot.git

configs: sama7g5ek: increase bootm len

Increase the BOOTM_LEN to 32M . This would allow a bigger kernel image to be
booted, for example the multi_v7_defconfig.

   Loading Kernel Image
Image too large: increase CONFIG_SYS_BOOTM_LEN
Must RESET board to recover
resetting ...

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---

diff --git a/include/configs/sama7g5ek.h b/include/configs/sama7g5ek.h
index ef3bfa36fd..96db82e9d4 100644
--- a/include/configs/sama7g5ek.h
+++ b/include/configs/sama7g5ek.h
@@ -11,7 +11,7 @@
 
 #define CONFIG_SYS_AT91_SLOW_CLOCK      32768
 #define CONFIG_SYS_AT91_MAIN_CLOCK      24000000 /* from 24 MHz crystal */
-
+#define CONFIG_SYS_BOOTM_LEN		SZ_32M
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE		0x60000000
 #define CONFIG_SYS_SDRAM_SIZE		0x20000000