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: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> Signed-off-by:
Matthias Brugger <mbrugger@suse.com>
Loading
Please register or sign in to comment