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:
32c8eee
)
usb: dwc2: convert to livetree
author
Philipp Tomsich
<
[email protected]
>
Tue, 12 Sep 2017 15:32:27 +0000
(17:32 +0200)
committer
Marek Vasut
<
[email protected]
>
Wed, 27 Sep 2017 10:12:22 +0000
(12:12 +0200)
Update the DWC2 USB driver to support a live tree.
Signed-off-by: Philipp Tomsich <
[email protected]
>
drivers/usb/host/dwc2.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/dwc2.c
b/drivers/usb/host/dwc2.c
index 64c42ac47153bd7f20b50f55e22efd3b99e02a70..0ed72d5ae71acccf68a728ee78e293f02e79ecd6 100644
(file)
--- a/
drivers/usb/host/dwc2.c
+++ b/
drivers/usb/host/dwc2.c
@@
-1245,7
+1245,7
@@
static int dwc2_usb_ofdata_to_platdata(struct udevice *dev)
struct dwc2_priv *priv = dev_get_priv(dev);
fdt_addr_t addr;
- addr = dev
fdt_get
_addr(dev);
+ addr = dev
_read
_addr(dev);
if (addr == FDT_ADDR_T_NONE)
return -EINVAL;
priv->regs = (struct dwc2_core_regs *)addr;