usb: mv_udc: Add proper cache management
authorMarek Vasut <marex@denx.de>
Wed, 10 Jul 2013 01:16:42 +0000 (03:16 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 29 Jul 2013 21:01:33 +0000 (23:01 +0200)
commitf19a343e732f4fd7ca0b0e067a1bfba930621553
tree281ae5c8b989b5a2362bf00c4dbcf33c736d539f
parentede709c0d293d980ceb6596132aa39941e3e1c7f
usb: mv_udc: Add proper cache management

Implement functions to flush/invalidate dcache over QH and qTDs
and make use of them where appropriate. Also use them to replace
the old incorrect cache management attempt. This is the first step
towards making this driver work with data cache enabled.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Lei Wen <leiwen@marvell.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
drivers/usb/gadget/mv_udc.c