diff options
author | Tom Rini <trini@konsulko.com> | 2018-04-22 09:30:36 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-22 09:30:36 -0400 |
commit | 275d80a4c2fb63890f3f4c16b7ad481064e650a0 (patch) | |
tree | e52ef8c4d289804e5b378b893d217c4b2cc4a1ff /drivers | |
parent | d335a9e722bc0111bf77ae0a6a4491a7ad99b7f2 (diff) | |
parent | 38276090ee7fda6b31cac638d8c5f4fb61f57b0b (diff) | |
download | u-boot-275d80a4c2fb63890f3f4c16b7ad481064e650a0.tar.gz u-boot-275d80a4c2fb63890f3f4c16b7ad481064e650a0.tar.xz u-boot-275d80a4c2fb63890f3f4c16b7ad481064e650a0.zip |
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/Kconfig | 3 | ||||
-rw-r--r-- | drivers/usb/host/dwc3-of-simple.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 6caa61552a..3455e8113b 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -23,7 +23,8 @@ config USB_XHCI_DWC3 config USB_XHCI_DWC3_OF_SIMPLE bool "DesignWare USB3 DRD Generic OF Simple Glue Layer" - select MISC + depends on DM_USB + default y if DRA7XX help Support USB2/3 functionality in simple SoC integrations with USB controller based on the DesignWare USB3 IP Core. diff --git a/drivers/usb/host/dwc3-of-simple.c b/drivers/usb/host/dwc3-of-simple.c index 54a5f60b52..440dd1027d 100644 --- a/drivers/usb/host/dwc3-of-simple.c +++ b/drivers/usb/host/dwc3-of-simple.c @@ -50,7 +50,7 @@ static int dwc3_of_simple_clk_init(struct udevice *dev, int ret; ret = clk_get_bulk(dev, &simple->clks); - if (ret == -ENOTSUPP) + if (ret == -ENOSYS) return 0; if (ret) return ret; @@ -95,6 +95,7 @@ static int dwc3_of_simple_remove(struct udevice *dev) static const struct udevice_id dwc3_of_simple_ids[] = { { .compatible = "amlogic,meson-gxl-dwc3" }, + { .compatible = "ti,dwc3" }, { } }; |