Skip to content
Commit 2a15a25c authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Matthias Brugger
Browse files

dm: Introduce dev_phys_to_bus()/dev_bus_to_phys()



These functions, instead of relying on hard-coded platform-specific
address translations, make use of the DMA constraints provided by the DM
core. This allows for per-device translations.

We can't yet get rid of the legacy phys_to_bus()/bus_to_phys()
implementations as some of its users are not integrated into the
device model.

Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Tested-by: default avatarPeter Robinson <pbrobinson@gmail.com>
Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
parent e8801876
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment