sunxi: musb: Use device-model for musb host mode
Modify the sunxi musb glue to use the device-model for musb host mode.
This allows using musb in host mode together with other host drivers
such as ehci / ohci, which is esp. useful on boards which use the
musb controller in host-only mode, these boards have e.g. an usb-a
receptacle or an usb to sata converter attached to the musb controller.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0e899cd..3355b3b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -648,7 +648,7 @@
select DM_GPIO
select DM_ETH
select DM_SERIAL
- select DM_USB if !USB_MUSB_SUNXI
+ select DM_USB
select OF_CONTROL
select OF_SEPARATE
select SPL_DISABLE_OF_CONTROL