diff options
author | Mike J. Chen <mjchen@google.com> | 2012-01-25 14:28:30 -0800 |
---|---|---|
committer | Mike J. Chen <mjchen@google.com> | 2012-03-03 17:29:32 -0800 |
commit | df58eb8c4cb9734eca5b16a252cd3b5c005a3c4d (patch) | |
tree | fcd3eb2867f216ec2f8dccc573ac480b63f6632c | |
parent | 33c8ac1e0de043e58b4f22d4598a059c9bc3f82d (diff) | |
download | uboot-df58eb8c4cb9734eca5b16a252cd3b5c005a3c4d.tar.gz |
FASTBOOT: revert back to 512 byte packets for HS
Although 1024 bytes seemed to work, it's non-standard and slows
down transfers on macs.
Change-Id: If1cce11a9a1ca77a6a2b316a927f744014a60709
Signed-off-by: Mike J. Chen <mjchen@google.com>
-rw-r--r-- | include/fastboot.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/fastboot.h b/include/fastboot.h index c8dba3592..044b4a21f 100644 --- a/include/fastboot.h +++ b/include/fastboot.h @@ -90,12 +90,8 @@ #define CONFIG_FASTBOOT_MKBOOTIMAGE_PAGE_SIZE 2048 #endif -/* Fastboot bulk packet sizes. 1024 is faster than 512 when - * communicating with Linux hosts, but slower for macbook pro - * for some reason. Since we're mostly dealing with Linux - * hosts, we use 1024. - */ -#define CONFIG_USBD_FASTBOOT_BULK_PKTSIZE_HS 1024 +/* Fastboot bulk packet sizes */ +#define CONFIG_USBD_FASTBOOT_BULK_PKTSIZE_HS 512 #define CONFIG_USBD_FASTBOOT_BULK_PKTSIZE_FS 64 /* Max size of commands from host to us */ |