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>
This commit is contained in:
Stefan Roese
2009-01-21 17:12:19 +01:00
committed by Remy Bohmer
parent 4e0ea0efc1
commit daa2dafb45
2 changed files with 103 additions and 0 deletions

View File

@@ -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 */