From 1ecd2eaa88b9e7ec976559606ec32c92358b2528 Mon Sep 17 00:00:00 2001 From: Peng Fan <van.freenix@gmail.com> Date: Mon, 4 Jan 2016 15:27:22 +0800 Subject: [PATCH] imx: mx6/7 enlarge CONFIG_SYS_BOOTM_LEN to 16M 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 174ea088f3..179b4f9007 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -25,6 +25,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 d507fb48da..fac7c3f2e2 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 -- 2.39.5