Skip to content
Snippets Groups Projects
Commit 6e652e3a authored by Philipp Tomsich's avatar Philipp Tomsich Committed by Marek Vasut
Browse files

usb: host: ehci-generic: convert to livetree


Update the generic EHCI driver to support a live tree.

Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
parent a9d3037a
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ static int ehci_usb_probe(struct udevice *dev)
}
}
hccr = map_physmem(devfdt_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)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment