summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZhang Sanshan <b51434@freescale.com>2015-12-04 11:00:02 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:35:49 +0800
commit7000dc5701d643ab8ea58feb2f1cfa66015c4ac8 (patch)
treeae262f3ea8ebc7190ef7db6d69dfb65aabbdb0b1 /include
parent61a50c597d265787136c74e76ab41276357d9024 (diff)
downloadu-boot-imx-7000dc5701d643ab8ea58feb2f1cfa66015c4ac8.zip
u-boot-imx-7000dc5701d643ab8ea58feb2f1cfa66015c4ac8.tar.gz
u-boot-imx-7000dc5701d643ab8ea58feb2f1cfa66015c4ac8.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