Title: [7183] trunk: move MUSB anomaly error info into musb driver
Revision
7183
Author
vapier
Date
2009-08-13 14:38:47 -0400 (Thu, 13 Aug 2009)

Log Message

move MUSB anomaly error info into musb driver

Modified Paths


Diff

Modified: trunk/arch/blackfin/mach-common/arch_checks.c (7182 => 7183)


--- trunk/arch/blackfin/mach-common/arch_checks.c	2009-08-13 18:32:58 UTC (rev 7182)
+++ trunk/arch/blackfin/mach-common/arch_checks.c	2009-08-13 18:38:47 UTC (rev 7183)
@@ -78,13 +78,3 @@
 	 (!defined(CONFIG_BFIN_EXTMEM_DCACHEABLE) && defined(CONFIG_BFIN_L2_WRITEBACK)))
 # error You are exposing Anomaly 220 in this config, either config L2 as Write Through, or make External Memory WB.
 #endif
-
-/* The Mentor usb DMA engine on BF52x(silicon v0.0 and v0.1)seems
- * not work stably in host mode. This may be caused by anomaly 05000380.
- * After digging out the root cause anomaly, change its number  accordingly.
- * So,either using silicon v0.2 or heighter or disabling DMA mode in musb.
- */
-#if ANOMALY_05000380 && defined(CONFIG_BF52x) && defined(CONFIG_USB_MUSB_HDRC) && !defined(CONFIG_MUSB_PIO_ONLY)
-#error Please use PIO mode in MUSB driver on bf52x chip v0.0 and v0.1.
-#endif
-

Modified: trunk/drivers/usb/musb/blackfin.h (7182 => 7183)


--- trunk/drivers/usb/musb/blackfin.h	2009-08-13 18:32:58 UTC (rev 7182)
+++ trunk/drivers/usb/musb/blackfin.h	2009-08-13 18:38:47 UTC (rev 7183)
@@ -43,6 +43,16 @@
  *             anomaly - 05000465.
  */
 
+/* The Mentor USB DMA engine on BF52x (silicon v0.0 and v0.1) seems to be
+ * unstable in host mode.  This may be caused by Anomaly 05000380.  After
+ * digging out the root cause, we will change this number accordingly.
+ * So, need to either use silicon v0.2+ or disable DMA mode in MUSB.
+ */
+#if ANOMALY_05000380 && defined(CONFIG_BF52x) && \
+    defined(CONFIG_USB_MUSB_HDRC) && !defined(CONFIG_MUSB_PIO_ONLY)
+# error "Please use PIO mode in MUSB driver on bf52x chip v0.0 and v0.1"
+#endif
+
 #undef DUMP_FIFO_DATA
 #ifdef DUMP_FIFO_DATA
 static void dump_fifo_data(u8 *buf, u16 len)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to