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

Peng Fan van.freenix at gmail.com
Mon Jan 4 08:27:22 CET 2016


Support uncompressing zImage which is larger than 8M.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
Cc: Peter Robinson <pbrobinson at gmail.com>
Cc: Volodymyr Riazantsev <volodymyr.riazantsev at globallogic.com>
Cc: Fabio Estevam <fabio.estevam at freescale.com>
Cc: Adrian Alonso <aalonso at freescale.com>
Cc: Stefano Babic <sbabic at 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
-- 
2.6.2



More information about the U-Boot mailing list