diff mbox series

[2/2] configs: increase CONFIG_SYS_BOOTM_LEN to support kernel > 32MB

Message ID 20221211154654.17851-2-jit.loon.lim@intel.com
State Changes Requested
Delegated to: Marek Vasut
Headers show
Series [1/2] configs: add env. variable to support compressed kernel in qspiboot | expand

Commit Message

Jit Loon Lim Dec. 11, 2022, 3:46 p.m. UTC
From: Kah Jing Lee <kah.jing.lee@intel.com>

Increase CONFIG_SYS_BOOTM_LEN to support kernel image from 5.15.lts
that is > 32MB

Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
---
 include/configs/socfpga_soc64_common.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Dec. 11, 2022, 8:43 p.m. UTC | #1
On Sun, Dec 11, 2022 at 11:46:54PM +0800, Jit Loon Lim wrote:

> From: Kah Jing Lee <kah.jing.lee@intel.com>
> 
> Increase CONFIG_SYS_BOOTM_LEN to support kernel image from 5.15.lts
> that is > 32MB
> 
> Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com>
> Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
> ---
>  include/configs/socfpga_soc64_common.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
> index 7fe9dced88..5167a2903e 100644
> --- a/include/configs/socfpga_soc64_common.h
> +++ b/include/configs/socfpga_soc64_common.h
> @@ -22,6 +22,7 @@
>   */
>  
>  /* Extend size of kernel image for uncompression */
> +#define CONFIG_SYS_BOOTM_LEN		(64 * 1024 * 1024)

This option is controlled via Kconfig.
diff mbox series

Patch

diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index 7fe9dced88..5167a2903e 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -22,6 +22,7 @@ 
  */
 
 /* Extend size of kernel image for uncompression */
+#define CONFIG_SYS_BOOTM_LEN		(64 * 1024 * 1024)
 
 /*
  * U-Boot run time memory configurations