diff options
author | Nicolas Saenz Julienne | 2021-01-12 13:55:26 +0100 |
---|---|---|
committer | Matthias Brugger | 2021-02-18 11:56:25 +0100 |
commit | 2a15a25c362bbeddf0c8e6fcfb142321076eb904 (patch) | |
tree | e8d5fab88c3f96d344f46bcd945d609a30b1aa96 /drivers/Makefile | |
parent | e88018769cd3ed69d2f1623fe03a02dcb0be073a (diff) |
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>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions