From: Alberto Panizzo <alberto@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 7/8] usb: rockchip: boost up write speed from 4MB/s to 15MB/s
Date: Wed, 4 Jul 2018 20:47:28 +0200 [thread overview]
Message-ID: <1530730069-7448-8-git-send-email-alberto@amarulasolutions.com> (raw)
In-Reply-To: <1530730069-7448-1-git-send-email-alberto@amarulasolutions.com>
Speedup transfers increasing the max chunk size.
Buffers are allocated with memalign thus developer is noticed when heap is
full and in current configuration a buffer allocation of 64K till now
is safe.
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
---
arch/arm/include/asm/arch-rockchip/f_rockusb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-rockchip/f_rockusb.h b/arch/arm/include/asm/arch-rockchip/f_rockusb.h
index 9772321..141aae6 100644
--- a/arch/arm/include/asm/arch-rockchip/f_rockusb.h
+++ b/arch/arm/include/asm/arch-rockchip/f_rockusb.h
@@ -19,7 +19,7 @@
#define RX_ENDPOINT_MAXIMUM_PACKET_SIZE_1_1 0x0040
#define TX_ENDPOINT_MAXIMUM_PACKET_SIZE 0x0040
-#define EP_BUFFER_SIZE 4096
+#define EP_BUFFER_SIZE 65536
/*
* EP_BUFFER_SIZE must always be an integral multiple of maxpacket size
* (64 or 512 or 1024), else we break on certain controllers like DWC3
--
2.7.4
next prev parent reply other threads:[~2018-07-04 18:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-04 18:47 [U-Boot] [PATCH v2 0/8] Improve rockusb support in U-Boot Alberto Panizzo
2018-07-04 18:47 ` [U-Boot] [PATCH v2 1/8] usb: rockchip: fix command failed on host side due to missing data Alberto Panizzo
2018-07-04 18:47 ` [U-Boot] [PATCH v2 2/8] usb: rockchip: implement skeleton for K_FW_GET_CHIP_VER command Alberto Panizzo
2018-07-04 18:47 ` [U-Boot] [PATCH v2 3/8] rockchip: rk3288: implement reading chip version from bootrom code Alberto Panizzo
2018-07-04 18:47 ` [U-Boot] [PATCH v2 4/8] usb: rockchip: implement K_FW_LBA_READ_10 command Alberto Panizzo
2018-07-05 22:18 ` Lukasz Majewski
2018-07-04 18:47 ` [U-Boot] [PATCH v2 5/8] usb: rockchip: implement K_FW_LBA_ERASE_10 command Alberto Panizzo
2018-07-10 20:49 ` Simon Glass
2018-07-04 18:47 ` [U-Boot] [PATCH v2 6/8] usb: rockchip: be quiet on serial port while transferring data Alberto Panizzo
2018-07-04 18:47 ` Alberto Panizzo [this message]
2018-07-10 20:49 ` [U-Boot] [PATCH v2 7/8] usb: rockchip: boost up write speed from 4MB/s to 15MB/s Simon Glass
2018-07-04 18:47 ` [U-Boot] [PATCH v2 8/8] usb: rockchip: fix printing csw debug info Alberto Panizzo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1530730069-7448-8-git-send-email-alberto@amarulasolutions.com \
--to=alberto@amarulasolutions.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox