fastboot: reduce fastboot chunk size
authorJaewon Kim <jaewon02.kim@samsung.com>
Tue, 9 Jan 2018 06:13:21 +0000 (15:13 +0900)
committerJaewon Kim <jaewon02.kim@samsung.com>
Tue, 9 Jan 2018 07:04:40 +0000 (16:04 +0900)
The Windows fastboot utility will fail if the time exceeded
during one chunk processed. So, this patch reduce chunk size.

Change-Id: I845004642239ad1f86e8dcd3ce5858999a3b2c85
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
drivers/usb/gadget/f_fastboot.c

index 590ee58a4fb486bdfc47fafb1c2f58e703743cb5..deae4854ab2033f61431fac74c222bb8a05e8e79 100644 (file)
@@ -69,7 +69,7 @@
 #define        RESP_SIZE                       (65)
 
 #ifndef CONFIG_FASTBOOT_DIV_SIZE
-#define CONFIG_FASTBOOT_DIV_SIZE       0x10000000 /* 256MiB */
+#define CONFIG_FASTBOOT_DIV_SIZE       0x2000000 /* 32MiB */
 #endif
 
 /*