projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d3037
)
usb: host: ehci-generic: convert to livetree
author
Philipp Tomsich
<
[email protected]
>
Tue, 12 Sep 2017 15:32:28 +0000
(17:32 +0200)
committer
Marek Vasut
<
[email protected]
>
Wed, 27 Sep 2017 10:12:23 +0000
(12:12 +0200)
Update the generic EHCI driver to support a live tree.
Signed-off-by: Philipp Tomsich <
[email protected]
>
drivers/usb/host/ehci-generic.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-generic.c
b/drivers/usb/host/ehci-generic.c
index 03f8d321af13e3ddb04c46ae9a66d16b82defe73..18e1e0ee8852a7e15ab65cb41b90512805f34ed5 100644
(file)
--- a/
drivers/usb/host/ehci-generic.c
+++ b/
drivers/usb/host/ehci-generic.c
@@
-108,7
+108,7
@@
static int ehci_usb_probe(struct udevice *dev)
}
}
- hccr = map_physmem(dev
fdt_get
_addr(dev), 0x100, MAP_NOCACHE);
+ hccr = map_physmem(dev
_read
_addr(dev), 0x100, MAP_NOCACHE);
hcor = (struct ehci_hcor *)((uintptr_t)hccr +
HC_LENGTH(ehci_readl(&hccr->cr_capbase)));