aboutsummaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorNicolas Saenz Julienne2021-01-12 13:55:28 +0100
committerMatthias Brugger2021-02-18 11:56:26 +0100
commit1a474559d90a4b4f7acd95050fe759fe52395867 (patch)
tree9af29e23ffb041f64c9ea866ec39c25f08a58688 /include/mmc.h
parent30b20e6b3f041d2a383d5a59303af21108afc1d7 (diff)
xhci: translate virtual addresses into the bus's address space
So far we've been content with passing physical addresses when configuring memory addresses into XHCI controllers, but not all platforms have buses with transparent mappings. Specifically the Raspberry Pi 4 might introduce an offset to memory accesses incoming from its PCIe port. Introduce xhci_virt_to_bus() and xhci_bus_to_virt() to cater with these limitations, and make sure we don't break non DM users. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Peter Robinson <pbrobinson@gmail.com> [mb: fix compilation for 32 bit] Signed-off-by: Matthias Brugger <mbrugger@suse.com> fix from nicolas
Diffstat (limited to 'include/mmc.h')
0 files changed, 0 insertions, 0 deletions