mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-16 23:11:30 +01:00
Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-usb
- DWC3 fix on Layerscape
This commit is contained in:
commit
c0c08be546
@ -134,8 +134,7 @@ U_BOOT_DRIVER(dwc3_layerscape_peripheral) = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SPL_USB_HOST_SUPPORT) || \
|
#if CONFIG_IS_ENABLED(USB_HOST)
|
||||||
!defined(CONFIG_SPL_BUILD) && defined(CONFIG_USB_HOST)
|
|
||||||
static int dwc3_layerscape_host_probe(struct udevice *dev)
|
static int dwc3_layerscape_host_probe(struct udevice *dev)
|
||||||
{
|
{
|
||||||
struct xhci_hcor *hcor;
|
struct xhci_hcor *hcor;
|
||||||
@ -194,7 +193,7 @@ static int dwc3_layerscape_bind(struct udevice *dev)
|
|||||||
driver = "dwc3-layerscape-peripheral";
|
driver = "dwc3-layerscape-peripheral";
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_SPL_USB_HOST_SUPPORT) || !defined(CONFIG_SPL_BUILD)
|
#if CONFIG_IS_ENABLED(USB_HOST)
|
||||||
case USB_DR_MODE_HOST:
|
case USB_DR_MODE_HOST:
|
||||||
dev_dbg(dev, "Using host mode\n");
|
dev_dbg(dev, "Using host mode\n");
|
||||||
driver = "dwc3-layerscape-host";
|
driver = "dwc3-layerscape-host";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user