projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a7486
)
usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI
author
Heiko Schocher
<hs@denx.de>
Tue, 16 Jul 2019 08:49:05 +0000
(10:49 +0200)
committer
Marek Vasut
<marex@denx.de>
Thu, 8 Aug 2019 09:35:02 +0000
(11:35 +0200)
set OHCI_USE_NPS if DM_PCI is enabled.
Signed-off-by: Heiko Schocher <hs@denx.de>
drivers/usb/host/ohci-hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ohci-hcd.c
b/drivers/usb/host/ohci-hcd.c
index bd498da096a7e69f88895f06a38209afa284f9eb..23ea2af5d75c2512d100e6571e4d85cacae59e69 100644
(file)
--- 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