diff mbox

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

Message ID 20150211125953.GA1180@makrotopia.org
State Superseded
Headers show

Commit Message

Daniel Golle Feb. 11, 2015, 1:01 p.m. UTC
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@makrotopia.org>
---
 target/linux/oxnas/config-3.18 | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

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