summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-03-30 15:29:03 +0200
committerTom Rini <trini@konsulko.com>2021-04-12 17:45:40 -0400
commit7062d4e815d255891d96aafe617a264c4c4a8a02 (patch)
treea14612fd6853dfc0fa137b6dc04009ab174e9d14 /cmd
parent34f8fc7c859926174b02734b35e5d5112a8c9fe7 (diff)
downloadu-boot-7062d4e815d255891d96aafe617a264c4c4a8a02.tar.gz
u-boot-7062d4e815d255891d96aafe617a264c4c4a8a02.tar.xz
u-boot-7062d4e815d255891d96aafe617a264c4c4a8a02.zip
scmi: translate the resource only when livetree is not activated
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 translation so when it is required when livetree is activated but this address translation is already done by ofnode_read_resource(). Fixes: 240720e9052f ("firmware: scmi: mailbox/smt agent device") Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions