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:
dc4e48d
)
usb, ohci: add warning if none on pci found
author
Heiko Schocher
<hs@denx.de>
Tue, 16 Jul 2019 08:49:06 +0000
(10:49 +0200)
committer
Marek Vasut
<marex@denx.de>
Thu, 8 Aug 2019 09:35:02 +0000
(11:35 +0200)
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 23ea2af5d75c2512d100e6571e4d85cacae59e69..58aa824ec0347685e0b08fac304eb6db6e46cf41 100644
(file)
--- a/
drivers/usb/host/ohci-hcd.c
+++ b/
drivers/usb/host/ohci-hcd.c
@@
-2047,8
+2047,11
@@
int usb_lowlevel_init(int index, enum usb_init_type init, void **controller)
pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, &base);
printf("OHCI regs address 0x%08x\n", base);
gohci.regs = (struct ohci_regs *)base;
- } else
+ } else {
+ printf("%s: OHCI devnr: %d not found\n", __func__,
+ CONFIG_PCI_OHCI_DEVNO);
return -1;
+ }
#else
gohci.regs = (struct ohci_regs *)CONFIG_SYS_USB_OHCI_REGS_BASE;
#endif