Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne <[email protected]> wrote: > > Add the following functions to translate DMA address to CPU address: > - dev_translate_dma_address() > - ofnode_translate_dma_address() > - of_translate_dma_address() > These functions work the same way as xxx_translate_address(), with the > difference that the translation relies on the "dma-ranges" property > instead of the "ranges" property. >
Looks good, but again, needs a test. > Signed-off-by: Fabien Dessenne <[email protected]> > --- > drivers/core/of_addr.c | 4 ++++ > drivers/core/ofnode.c | 8 ++++++++ > drivers/core/read.c | 5 +++++ > include/dm/of_addr.h | 18 ++++++++++++++++++ > include/dm/ofnode.h | 16 +++++++++++++++- > include/dm/read.h | 20 +++++++++++++++++++- > 6 files changed, 69 insertions(+), 2 deletions(-) > Regards, Simon _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

