]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: xhci-dwc3.c: Use dev_remap_addr() instead of dev_get_addr()
authorStefan Roese <sr@denx.de>
Mon, 24 Aug 2020 11:04:36 +0000 (13:04 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 7 Oct 2020 18:25:57 +0000 (20:25 +0200)
commit72a53ac59b9897d86471f5d44d2d4cbf82209d8e
tree236948ae71bc199dc07ac38611aaf3e6054c6ac7
parent63051d62b894b47e6aa3f59756be46513a450742
usb: xhci: xhci-dwc3.c: Use dev_remap_addr() instead of dev_get_addr()

On MIPS platforms, mapping of the base address is needed. This patch
switches from dev_get_addr() to dev_remap_addr() to get the mapped base
address of the xHCI controller.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/host/xhci-dwc3.c