summaryrefslogtreecommitdiff
path: root/drivers/usb/usb_ehci.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-01-21 17:12:19 +0100
committerRemy Bohmer <linux@bohmer.net>2009-01-28 19:57:31 +0100
commitdaa2dafb450a8073a4e42fd46cd4e995b208e4cb (patch)
treeaea6f4b4a849cab9bb959f00e02019d8922cddef /drivers/usb/usb_ehci.h
parent4e0ea0efc1e501186aca8577a4042fc6fa641602 (diff)
downloadu-boot-imx-daa2dafb450a8073a4e42fd46cd4e995b208e4cb.zip
u-boot-imx-daa2dafb450a8073a4e42fd46cd4e995b208e4cb.tar.gz
u-boot-imx-daa2dafb450a8073a4e42fd46cd4e995b208e4cb.tar.bz2
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/usb_ehci.h b/drivers/usb/usb_ehci.h
index b72498b..b3c1d5d 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 */