Re: [PATCH] scmi: translate the resource only when livetree is not activated

2021-04-13 Thread Tom Rini
On Tue, Mar 30, 2021 at 03:29:03PM +0200, Patrick Delaunay wrote: > Call the translation function on the ofnode_read_resource result only > when the livetree is not activated. > > Today of_address_to_resource() calls ofnode_read_resource() for livetree > support and fdt_get_resource() when livetr

Re: [PATCH] scmi: translate the resource only when livetree is not activated

2021-04-06 Thread Patrick DELAUNAY
Hi, On 3/30/21 3:29 PM, Patrick Delaunay wrote: Call the translation function on the ofnode_read_resource result only when the livetree is not activated. Today of_address_to_resource() calls ofnode_read_resource() for livetree support and fdt_get_resource() when livetree is not supported. The

[PATCH] scmi: translate the resource only when livetree is not activated

2021-03-30 Thread Patrick Delaunay
Call the translation function on the ofnode_read_resource result only when the livetree is not activated. Today of_address_to_resource() calls ofnode_read_resource() for livetree support and fdt_get_resource() when livetree is not supported. The fdt_get_resource() doesn't do the address translati