u-boot/drivers/usb
Alexey Brodkin 42637fdae8 usb: dwc2: Allow selection of data buffer size
If we use hardware with very small RAM (let's consider just a couple
of hundreds of kB but not megabytes) it is not super convenient to lose
64kB for statically allocated bufer which most probably won't be used
as big as it is. Typically we'll have much shorter data packages to
excahnge and in the worst case longer packets will be split on separate
transactions.

For those corner-cases user will be able to set his buffer size of
choice via USB_DWC2_BUFFER_SIZE option in menuconfig.

By default we'll use 64 kB as it was hard-coeded before so existing
users shouldn't be affected at all.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Marek Vasut <marex@denx.de>
2018-03-17 03:15:18 +01:00
..
common libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
dwc3 usb: dwc3-uniphier: replace <common.h> with <linux/bitops.h> 2017-10-15 22:32:24 +09:00
emul dm: usb: emul: Drop usb_emul_reset() 2017-10-01 16:32:51 +02:00
eth treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
gadget dfu: Rename _FUNCTION_DFU to DFU_OVER_ 2018-02-21 20:28:15 +01:00
host usb: dwc2: Allow selection of data buffer size 2018-03-17 03:15:18 +01:00
musb Convert CONFIG_USB_MUSB_HCD et al to Kconfig 2018-01-22 16:43:29 -05:00
musb-new Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig 2018-01-22 16:43:29 -05:00
phy libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ulpi usb: ulpi: kconfig: Remove meaningless choice default 2018-02-05 20:58:12 -05:00
Kconfig usb: kbd: select SYS_STDIO_DEREGISTER 2018-02-21 20:28:15 +01:00