On Sat, 2020-12-12 at 08:39 -0700, Simon Glass wrote: > Hi Nicolas, > > On Thu, 10 Dec 2020 at 04:39, Nicolas Saenz Julienne > <nsaenzjulie...@suse.de> wrote: > > > > Add the following functions to get a specific device's DMA ranges: > > - dev_get_dma_range() > > - ofnode_get_dma_range() > > - of_get_dma_range() > > - fdt_get_dma_range() > > They are specially useful in oder to be able validate a physical address > > space range into a bus's and to convert addresses from and to address > > spaces. > > > > Signed-off-by: Nicolas Saenz Julienne <nsaenzjulie...@suse.de> > > > > --- > > Changes since v1: > > - Fix wrong arguments in of_get_dma_range()'s call to > > of_translate_dma_address() > > - Fix build in SPL/TPL and no LIBFDT supprt > > - Add missing declaration in 'core/read.c' > > - Address Matthias' comments > > Please see my additional comments on v1
Took note of your comments. Thanks for the review! Regards, Nicolas
signature.asc
Description: This is a digitally signed message part