On Thu, 10 Dec 2020 at 04:45, Nicolas Saenz Julienne <nsaenzjulie...@suse.de> wrote: > > 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 <nsaenzjulie...@suse.de> > --- > include/phys2bus.h | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org> But please make sure tests are added.