diff options
| author | Stefan Roese <sr@denx.de> | 2009-01-21 17:12:19 +0100 | 
|---|---|---|
| committer | Remy Bohmer <linux@bohmer.net> | 2009-01-28 19:57:31 +0100 | 
| commit | daa2dafb450a8073a4e42fd46cd4e995b208e4cb (patch) | |
| tree | aea6f4b4a849cab9bb959f00e02019d8922cddef /drivers/usb/usb_ehci.h | |
| parent | 4e0ea0efc1e501186aca8577a4042fc6fa641602 (diff) | |
| download | olio-uboot-2014.01-daa2dafb450a8073a4e42fd46cd4e995b208e4cb.tar.xz olio-uboot-2014.01-daa2dafb450a8073a4e42fd46cd4e995b208e4cb.zip | |
USB: Add dcache support to the EHCI driver
This patch adds routines to handle (flush/invalidate) the dcache for the
QH and qTD structures and data buffers. This is needed on platforms using
this EHCI support with dcache enabled (like the MIPS VCT board port).
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'drivers/usb/usb_ehci.h')
| -rw-r--r-- | drivers/usb/usb_ehci.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/drivers/usb/usb_ehci.h b/drivers/usb/usb_ehci.h index b72498b7e..b3c1d5d72 100644 --- a/drivers/usb/usb_ehci.h +++ b/drivers/usb/usb_ehci.h @@ -180,6 +180,11 @@ struct QH {  	uint32_t qh_endpt2;  	uint32_t qh_curtd;  	struct qTD qh_overlay; +	/* +	 * Add dummy fill value to make the size of this struct +	 * aligned to 32 bytes +	 */ +	uint8_t fill[16];  };  /* Low level init functions */ |