diff mbox

[U-Boot] imx: mx6/7 enlarge CONFIG_SYS_BOOTM_LEN to 16M

Message ID 1451892442-4841-1-git-send-email-peng.fan@nxp.com
State Accepted
Commit 1ecd2eaa88b9e7ec976559606ec32c92358b2528
Delegated to: Stefano Babic
Headers show

Commit Message

Peng Fan Jan. 4, 2016, 7:27 a.m. UTC
Support uncompressing zImage which is larger than 8M.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Peter Robinson <pbrobinson@gmail.com>
Cc: Volodymyr Riazantsev <volodymyr.riazantsev@globallogic.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Adrian Alonso <aalonso@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
---
 include/configs/mx6_common.h | 2 ++
 include/configs/mx7_common.h | 2 ++
 2 files changed, 4 insertions(+)

Comments

Stefano Babic Jan. 24, 2016, 10:51 a.m. UTC | #1
On 04/01/2016 08:27, Peng Fan wrote:
> Support uncompressing zImage which is larger than 8M.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Cc: Peter Robinson <pbrobinson@gmail.com>
> Cc: Volodymyr Riazantsev <volodymyr.riazantsev@globallogic.com>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> Cc: Adrian Alonso <aalonso@freescale.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
>  include/configs/mx6_common.h | 2 ++
>  include/configs/mx7_common.h | 2 ++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
> index 1fd7ce3..fa91186 100644
> --- a/include/configs/mx6_common.h
> +++ b/include/configs/mx6_common.h
> @@ -35,6 +35,8 @@
>  
>  #define CONFIG_SYS_NO_FLASH
>  
> +#define CONFIG_SYS_BOOTM_LEN	0x1000000
> +
>  #include <linux/sizes.h>
>  #include <asm/arch/imx-regs.h>
>  #include <asm/imx-common/gpio.h>
> diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
> index d507fb4..fac7c3f 100644
> --- a/include/configs/mx7_common.h
> +++ b/include/configs/mx7_common.h
> @@ -23,6 +23,8 @@
>  #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
>  #define CONFIG_SYS_FSL_CLK
>  
> +#define CONFIG_SYS_BOOTM_LEN	0x1000000
> +
>  /* Enable iomux-lpsr support */
>  #define CONFIG_IOMUX_LPSR
>  #define CONFIG_IMX_FIXED_IVT_OFFSET
> 

Applied to u-boot-imx, thanks!

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index 1fd7ce3..fa91186 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -35,6 +35,8 @@ 
 
 #define CONFIG_SYS_NO_FLASH
 
+#define CONFIG_SYS_BOOTM_LEN	0x1000000
+
 #include <linux/sizes.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/imx-common/gpio.h>
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index d507fb4..fac7c3f 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -23,6 +23,8 @@ 
 #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
 #define CONFIG_SYS_FSL_CLK
 
+#define CONFIG_SYS_BOOTM_LEN	0x1000000
+
 /* Enable iomux-lpsr support */
 #define CONFIG_IOMUX_LPSR
 #define CONFIG_IMX_FIXED_IVT_OFFSET