Re: [PATCH v2] dm: core: Add address translation in fdt_get_resource

2021-04-29 Thread Simon Glass
Hi Patrick, On Wed, 28 Apr 2021 at 03:39, Patrick Delaunay wrote: > > Today of_address_to_resource() is called only in > ofnode_read_resource() for livetree support and > fdt_get_resource() is called when livetree is not supported. > > The fdt_get_resource() doesn't do the address translation > s

[PATCH v2] dm: core: Add address translation in fdt_get_resource

2021-04-28 Thread Patrick Delaunay
Today of_address_to_resource() is called only in ofnode_read_resource() for livetree support and fdt_get_resource() is called when livetree is not supported. The fdt_get_resource() doesn't do the address translation so when it is required, but the address translation is done by ofnode_read_resourc