]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
usb: musb: stub out MUSB_TXCSR_MODE for Blackfin parts
authorMike Frysinger <vapier@gentoo.org>
Wed, 11 Aug 2010 21:54:00 +0000 (17:54 -0400)
committerRemy Bohmer <linux@bohmer.net>
Mon, 20 Sep 2010 19:56:42 +0000 (21:56 +0200)
The MUSB_TXCSR_MODE register setting isn't supported on Blackfin musb
parts, so stub it out to 0.  This matches Linux behavior.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/usb/musb/musb_core.h

index 47718764454c21ebe86a4a57c86ca61ee7100372..8f73876f8067ec1f7d8cdced275c6eaa141841a5 100644 (file)
@@ -369,6 +369,8 @@ extern void read_fifo(u8 ep, u32 length, void *fifo_data);
 # define readb(addr)     (u8)bfin_read16(addr)
 # undef  writeb
 # define writeb(b, addr) bfin_write16(addr, b)
+# undef MUSB_TXCSR_MODE /* not supported */
+# define MUSB_TXCSR_MODE 0
 /*
  * The USB PHY on current Blackfin processors is a UTMI+ level 2 PHY.
  * However, it has no ULPI support - so there are no registers at all.