summaryrefslogtreecommitdiff
path: root/include/configs/mx6slevkandroid.h
diff options
context:
space:
mode:
authorzhang sanshan <b51434@freescale.com>2016-05-24 16:19:07 +0800
committerzhang sanshan <b51434@freescale.com>2016-05-25 09:57:16 +0800
commit596b7a8176c50181e3bf18876e90d585bccc7fbe (patch)
tree9d1f5fde50409895d1f841d6b5a4d842a313dc9d /include/configs/mx6slevkandroid.h
parent866435866402ad740b09efccf79d19e420f91114 (diff)
downloadu-boot-imx-m6.0.1_2.0.0-ga.zip
u-boot-imx-m6.0.1_2.0.0-ga.tar.gz
u-boot-imx-m6.0.1_2.0.0-ga.tar.bz2
MA-8202 [Android_MX6DL_ARD] Fastboot: Failed to boot system if update android_root.img based on NAND boot. 100%m6.0.1_2.0.0-ga
For sparse system.img, USB can trasfer system.img through spliting image into two sparse images. For android_root.img, the second part will overwrite the first one. It is a workaround to enlarge CONFIG_USB_FASTBOOT_BUF_SIZE to hold system image whose size is more than 400M. Signed-off-by: zhang sanshan <b51434@freescale.com>
Diffstat (limited to 'include/configs/mx6slevkandroid.h')
-rw-r--r--include/configs/mx6slevkandroid.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/mx6slevkandroid.h b/include/configs/mx6slevkandroid.h
index 1eaf78a..1f2f0e5 100644
--- a/include/configs/mx6slevkandroid.h
+++ b/include/configs/mx6slevkandroid.h
@@ -71,6 +71,9 @@
"initrd_high=0xffffffff\0" \
#define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR
+#ifdef CONFIG_FASTBOOT_STORAGE_NAND
+#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x25000000
+#else
#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x19000000
-
+#endif
#endif