summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Sanshan <b51434@freescale.com>2015-12-04 11:00:02 +0800
committerZhang Sanshan <b51434@freescale.com>2015-12-04 12:32:16 +0800
commit3e7b1092f677915214fb2abe08adda37177f763b (patch)
treeac0734a05e5ff3366fbe824a8a5b6a2b72f4300b
parent93dd4a9c59eb43862a95035a25759cf4f097b19c (diff)
downloadu-boot-imx-3e7b1092f677915214fb2abe08adda37177f763b.zip
u-boot-imx-3e7b1092f677915214fb2abe08adda37177f763b.tar.gz
u-boot-imx-3e7b1092f677915214fb2abe08adda37177f763b.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>
-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