diff options
author | Heiko Schocher | 2019-07-16 10:49:05 +0200 |
---|---|---|
committer | Marek Vasut | 2019-08-08 11:35:02 +0200 |
commit | dc4e48d845d9971d2b21f99c12f874dd06cedc0a (patch) | |
tree | cd6b22da08ab3d13139e46c5d60b8187a5f495f7 /drivers/usb | |
parent | a5a7486e62b0aa4afa1fe1a3b30f7dd682eb1ff8 (diff) |
usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI
set OHCI_USE_NPS if DM_PCI is enabled.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ohci-hcd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index bd498da096a..23ea2af5d75 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 |