diff options
| author | Simon Glass <sjg@chromium.org> | 2012-02-27 10:52:47 +0000 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-29 08:12:48 +0200 | 
| commit | 9ab4ce223c1d991e92e15c9aa0f522d61072155d (patch) | |
| tree | 8a43e077026f24e4a143a04446c48b216d239d92 /drivers/usb/host/ehci.h | |
| parent | 1920172ec80b709d017608b6a1d40b766e84c731 (diff) | |
| download | olio-uboot-2014.01-9ab4ce223c1d991e92e15c9aa0f522d61072155d.tar.xz olio-uboot-2014.01-9ab4ce223c1d991e92e15c9aa0f522d61072155d.zip | |
usb: Add support for txfifo threshold
CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning
field in the EHCI controller on reset.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers/usb/host/ehci.h')
| -rw-r--r-- | drivers/usb/host/ehci.h | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 3d0ad0c85..cc00ce428 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -80,7 +80,11 @@ struct ehci_hcor {  	uint32_t or_ctrldssegment;  	uint32_t or_periodiclistbase;  	uint32_t or_asynclistaddr; -	uint32_t _reserved_[9]; +	uint32_t _reserved_0_; +	uint32_t or_burstsize; +	uint32_t or_txfilltuning; +#define TXFIFO_THRESH(p)		((p & 0x3f) << 16) +	uint32_t _reserved_1_[6];  	uint32_t or_configflag;  #define FLAG_CF		(1 << 0)	/* true:  we'll support "high speed" */  	uint32_t or_portsc[CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS]; |