From d2c9a9a3d728c20ecf78d5894a1a121a78f38efa Mon Sep 17 00:00:00 2001 From: Sam Protsenko Date: Tue, 2 Jul 2019 20:56:09 +0300 Subject: [PATCH] arm: am57xx: Allow bootm to load larger kernels linux-mainline with multi_v7_defconfig + Android configs takes more space than regular TI Android kernel and bootm will fail to load it. Let's increase max kernel size up to 64 MiB to make it possible to run such kernel. Signed-off-by: Sam Protsenko Reviewed-by: Igor Opaniuk Reviewed-by: Lokesh Vutla --- include/configs/am57xx_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h index e69e800..45fd218 100644 --- a/include/configs/am57xx_evm.h +++ b/include/configs/am57xx_evm.h @@ -22,6 +22,8 @@ #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) #define CONFIG_SYS_REDUNDAND_ENVIRONMENT +#define CONFIG_SYS_BOOTM_LEN SZ_64M + #define CONSOLEDEV "ttyO2" #define CONFIG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */ #define CONFIG_SYS_NS16550_COM2 UART2_BASE /* UART2 */ -- 2.7.4