summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZhang Sanshan <b51434@freescale.com>2015-12-04 11:00:02 +0800
committerfang hui <hui.fang@freescale.com>2016-03-16 13:48:06 +0800
commit4a936adff5c2d48dbb0d3eba932cbedfdfa277bb (patch)
treeefd9ab8e6d16597112786e405f4b178ddef75050 /include
parentc3d12c87b58562a539216f64bbe2ae4ec068c534 (diff)
downloadu-boot-imx-4a936adff5c2d48dbb0d3eba932cbedfdfa277bb.zip
u-boot-imx-4a936adff5c2d48dbb0d3eba932cbedfdfa277bb.tar.gz
u-boot-imx-4a936adff5c2d48dbb0d3eba932cbedfdfa277bb.tar.bz2
MA-7330-1 change tool chain to gcc4.9 for android kernel and uboot
uboot will fail when loader zImage which is larger than 9M. Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to support uncompressing images larger than 8 MB. Signed-off-by: Zhang Sanshan <b51434@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6_common.h2
-rw-r--r--include/configs/mx7_common.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index c2c3c50..819867e 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -28,6 +28,8 @@ defined(CONFIG_MX6DL)) && !defined(CONFIG_MX6SOLO)
#define CONFIG_ARM_ERRATA_845369
#endif
+#define CONFIG_SYS_BOOTM_LEN 0x1000000
+
#ifndef CONFIG_SYS_L2CACHE_OFF
#define CONFIG_SYS_L2_PL310
#define CONFIG_SYS_PL310_BASE L2_PL310_BASE
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index 3e5c811..8aa7b49 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -16,6 +16,7 @@
#define CONFIG_SYSCOUNTER_TIMER
#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
+#define CONFIG_SYS_BOOTM_LEN 0x1000000
#define CONFIG_IOMUX_LPSR
#define CONFIG_IMX_FIXED_IVT_OFFSET
#endif