From: Heiko Schocher Date: Tue, 16 Jul 2019 08:49:05 +0000 (+0200) Subject: usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI X-Git-Tag: v2019.10-rc2~8^2~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dc4e48d845d9971d2b21f99c12f874dd06cedc0a;p=oweals%2Fu-boot.git usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI set OHCI_USE_NPS if DM_PCI is enabled. Signed-off-by: Heiko Schocher --- diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index bd498da096..23ea2af5d7 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -50,8 +50,9 @@ #endif #if defined(CONFIG_CPU_ARM920T) || \ - defined(CONFIG_PCI_OHCI) || \ - defined(CONFIG_SYS_OHCI_USE_NPS) + defined(CONFIG_PCI_OHCI) || \ + defined(CONFIG_DM_PCI) || \ + defined(CONFIG_SYS_OHCI_USE_NPS) # define OHCI_USE_NPS /* force NoPowerSwitching mode */ #endif