[U-Boot] [PATCH] usb: musb: stub out MUSB_TXCSR_MODE for Blackfin parts
Mike Frysinger
vapier at gentoo.org
Wed Aug 11 23:54:00 CEST 2010
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 at gentoo.org>
---
drivers/usb/musb/musb_core.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h
index 9a1fb4f..2f51400 100644
--- a/drivers/usb/musb/musb_core.h
+++ b/drivers/usb/musb/musb_core.h
@@ -361,6 +361,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
#endif
#endif /* __MUSB_HDRC_DEFS_H__ */
--
1.7.2
More information about the U-Boot
mailing list