+++ b/common/bootm.c
@@ -31,7 +31,7 @@
#ifndef CONFIG_SYS_BOOTM_LEN
/* use 8MByte as default max gunzip size */
-#define CONFIG_SYS_BOOTM_LEN 0x800000
+#define CONFIG_SYS_BOOTM_LEN 0x1000000
#endif
--- a/buildroot-2016.05/boot/uboot/uboot.mk
+++ b/buildroot-2016.05/boot/uboot/uboot.mk@@ -89,6 +89,7 @@ endif
UBOOT_MAKE_OPTS += \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH=$(UBOOT_ARCH) \
+ KCFLAGS="-DCONFIG_MX6UL_EVK_EMMC_REWORK -DCONFIG_ANDROID_DATA_PARTITION_MMC=4" \
HOSTCFLAGS="$(HOST_CFLAGS)" \
HOSTLDFLAGS="$(HOST_LDFLAGS)"