diff mbox series

arm64: a37xx: increase CONFIG_SYS_BOOTM_LEN to 64MB

Message ID 20200907065645.492653-1-a.heider@gmail.com
State Accepted
Commit 6728da5ce90a659effc46e80e383985d62a7a026
Delegated to: Stefan Roese
Headers show
Series arm64: a37xx: increase CONFIG_SYS_BOOTM_LEN to 64MB | expand

Commit Message

Andre Heider Sept. 7, 2020, 6:56 a.m. UTC
From: Vladimir Vid <vladimir.vid@sartura.hr>

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

Patch taken from OpenWRT's uboot-mvebu package.

 include/configs/mvebu_armada-37xx.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Stefan Roese Sept. 24, 2020, 10:35 a.m. UTC | #1
On 07.09.20 08:56, Andre Heider wrote:
> From: Vladimir Vid <vladimir.vid@sartura.hr>
> 
> 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>
> ---
> 
> Patch taken from OpenWRT's uboot-mvebu package.

Applied to u-boot-marvell/master

Thanks,
Stefan

>   include/configs/mvebu_armada-37xx.h | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> 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, \
> 


Viele Grüße,
Stefan
diff mbox series

Patch

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, \