[OpenWrt-Devel] [PATCH] oxnas: workaround dwc2 role selection breakage

Daniel Golle daniel at makrotopia.org
Wed Feb 11 08:01:11 EST 2015


kmod-usb-dwc2 currently breaks CONFIG_ALL builds.

Fix that by adding a rather random selection of DWC2-related Kconfig
stuff to config-3.18 (oxnas doesn't have a dwc2, the whole drama comes
up because we package the dwc2-pci reference driver though that hardware
supposedly doesn't exist anywhere outside the vendor's labs).
These options could as well be added to generic/config-3.18 leaving it
to target maintainers to enable DUAL_ROLE mode if actually supported.

Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/oxnas/config-3.18 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/oxnas/config-3.18 b/target/linux/oxnas/config-3.18
index 77585af..a1018a5 100644
--- a/target/linux/oxnas/config-3.18
+++ b/target/linux/oxnas/config-3.18
@@ -341,7 +341,11 @@ CONFIG_UID16=y
 CONFIG_UNCOMPRESS_INCLUDE="mach/uncompress.h"
 CONFIG_USB=y
 CONFIG_USB_COMMON=y
+CONFIG_USB_DWC2_HOST=y
+# CONFIG_USB_DWC2_PERIPHERAL is not set
+# CONFIG_USB_DWC2_DUAL_ROLE is not set
 # CONFIG_USB_EHCI_HCD is not set
+# CONFIG_USB_GADGET_XILINX is not set
 CONFIG_USB_SUPPORT=y
 # CONFIG_USB_UHCI_HCD is not set
 CONFIG_USE_OF=y
-- 
2.2.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list