u-boot-brain/drivers/usb/host
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
..
dwc2.c usb: dwc2: Allow selection of data buffer size 2018-03-17 03:15:18 +01:00
dwc2.h usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to CONFIG_DWC2_UTMI_WIDTH 2018-02-15 13:44:27 +01:00
dwc3-sti-glue.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ehci-armada100.c Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
ehci-atmel.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ehci-exynos.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ehci-faraday.c dm: usb: Drop the EHCI weak functions 2015-04-18 11:11:24 -06:00
ehci-fsl.c usb: ehci: fsl: Fix some compile warnings. 2018-01-09 12:37:15 +01:00
ehci-generic.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ehci-hcd.c usb: ehci: do not invalidate a NULL buffer 2017-11-26 02:22:36 +01:00
ehci-marvell.c dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
ehci-msm.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ehci-mx5.c usb: Rename ehci-fsl.h to ehci-ci.h 2016-04-01 17:18:10 -04:00
ehci-mx6.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
ehci-mxc.c usb: Rename ehci-fsl.h to ehci-ci.h 2016-04-01 17:18:10 -04:00
ehci-mxs.c usb: ehci: mxs: fix swapped argument in ehci_writel() 2018-01-25 20:59:20 +01:00
ehci-omap.c usb: ehci-omap: Reset the USB Host OMAP module 2013-12-06 07:02:32 -05:00
ehci-pci.c ehci-pci: Prepare for usage of readl()/writel() accessors 2017-06-05 13:42:09 +02:00
ehci-ppc4xx.c ehci-ppc4xx: Prepare for usage of readl()/writel() accessors 2017-04-25 12:50:13 +02:00
ehci-rmobile.c usb: rmobile: Use ARRAY_SIZE(usb_base_address) instead of CONFIG_USB_MAX_CONTROLLER_COUNT 2014-11-07 16:32:02 +01:00
ehci-spear.c usb: spear: Add support for both SPEAr600 EHCI controllers 2015-08-19 22:30:20 +02:00
ehci-sunxi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ehci-tegra.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ehci-vct.c usb: ehci-hcd: add enum usb_init_type parameter to ehci_hcd_init. 2013-10-20 23:46:27 +02:00
ehci-vf.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ehci-zynq.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ehci.h usb: ehci: Fix accessors for big-endian platforms and descriptors 2017-11-26 02:22:36 +01:00
Kconfig usb: dwc2: Allow selection of data buffer size 2018-03-17 03:15:18 +01:00
Makefile usb: Remove isp116x-hcd support 2018-01-28 04:00:59 +01:00
ohci-at91.c drivers: usb: ohci-at91: clean up the PLLB code 2016-02-18 21:34:41 +01:00
ohci-da8xx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ohci-ep93xx.c arm: ep9315: Return back Cirrus Logic EDB9315A board support 2014-07-04 23:45:48 +02:00
ohci-generic.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ohci-hcd.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
ohci-lpc32xx.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
ohci-sunxi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ohci.h powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
r8a66597-hcd.c usb: host: Drop unused hcd_name from r8a66597-hcd.c 2018-01-28 04:00:59 +01:00
r8a66597.h usb: r8a66597: Add support for RZ/A series 2017-11-28 04:06:40 +01:00
sl811-hcd.c usb: add enum usb_init_type parameter to usb_lowlevel_init 2013-10-20 23:45:26 +02:00
sl811.h drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
usb-sandbox.c usb: sandbox: Fix emulator device select logic in usb_emul_find_devnum() 2017-10-01 16:32:50 +02:00
usb-uclass.c dm: usb: emul: Drop usb_emul_reset() 2017-10-01 16:32:51 +02:00
utmi-armada100.c Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
xhci-dwc3.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
xhci-exynos5.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
xhci-fsl.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
xhci-keystone.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
xhci-mem.c usb: xhci: Set 'Average TRB Length' to 8 for control endpoints 2017-10-01 16:32:55 +02:00
xhci-mvebu.c mvebu: usb: xhci: a38x support 2017-11-16 11:45:20 +01:00
xhci-omap.c usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions 2018-02-15 13:44:30 +01:00
xhci-pci.c usb: xhci-pci: Clean up the driver a little bit 2017-07-28 23:34:29 +02:00
xhci-rcar-r8a779x_usb3_v3.h usb: xhci: Add Renesas R-Car xHCI driver 2017-11-26 02:22:36 +01:00
xhci-rcar.c usb: xhci-rcar: Add R8A77965 M3N entries 2018-03-05 10:59:38 +01:00
xhci-ring.c usb: xhci: Fix bool initialization in xhci_bulk_tx 2018-01-25 20:59:16 +01:00
xhci-rockchip.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
xhci-zynqmp.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
xhci.c usb: xhci: Set 'Average TRB Length' to 8 for control endpoints 2017-10-01 16:32:55 +02:00
xhci.h usb: xhci: Honor endpoint's interval 2017-10-01 16:32:54 +02:00