Commit 327a3cf1ce613f2107a0770612ecf867bb02bf5c

Authored by Zhang Sanshan
Committed by guoyin.chen
1 parent f4fdfa901e

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>

Showing 2 changed files with 3 additions and 0 deletions Side-by-side Diff

include/configs/mx6_common.h
... ... @@ -28,6 +28,8 @@
28 28 #define CONFIG_ARM_ERRATA_845369
29 29 #endif
30 30  
  31 +#define CONFIG_SYS_BOOTM_LEN 0x1000000
  32 +
31 33 #ifndef CONFIG_SYS_L2CACHE_OFF
32 34 #define CONFIG_SYS_L2_PL310
33 35 #define CONFIG_SYS_PL310_BASE L2_PL310_BASE
include/configs/mx7_common.h
... ... @@ -16,6 +16,7 @@
16 16 #define CONFIG_SYSCOUNTER_TIMER
17 17 #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
18 18  
  19 +#define CONFIG_SYS_BOOTM_LEN 0x1000000
19 20 #define CONFIG_IOMUX_LPSR
20 21 #define CONFIG_IMX_FIXED_IVT_OFFSET
21 22 #endif