All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] usb: musb: stub out MUSB_TXCSR_MODE for Blackfin parts
@ 2010-08-11 21:54 Mike Frysinger
  2010-09-20 19:59 ` Remy Bohmer
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2010-08-11 21:54 UTC (permalink / raw)
  To: u-boot

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 |    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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] usb: musb: stub out MUSB_TXCSR_MODE for Blackfin parts
  2010-08-11 21:54 [U-Boot] [PATCH] usb: musb: stub out MUSB_TXCSR_MODE for Blackfin parts Mike Frysinger
@ 2010-09-20 19:59 ` Remy Bohmer
  0 siblings, 0 replies; 2+ messages in thread
From: Remy Bohmer @ 2010-09-20 19:59 UTC (permalink / raw)
  To: u-boot

Hi,

2010/8/11 Mike Frysinger <vapier@gentoo.org>:
> 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 | ? ?2 ++
> ?1 files changed, 2 insertions(+), 0 deletions(-)
>
Applied to u-boot-usb.

Thanks.

Remy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-20 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-11 21:54 [U-Boot] [PATCH] usb: musb: stub out MUSB_TXCSR_MODE for Blackfin parts Mike Frysinger
2010-09-20 19:59 ` Remy Bohmer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.