[PATCH v2 4/8] dm: Introduce xxx_get_dma_range()
Nicolas Saenz Julienne
nsaenzjulienne at suse.de
Mon Dec 14 09:09:36 CET 2020
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
> <nsaenzjulienne at 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 <nsaenzjulienne at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201214/e5a40337/attachment.sig>
More information about the U-Boot
mailing list