u-boot-brain/drivers/firmware/scmi
Patrick Delaunay 7062d4e815 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: 240720e905 ("firmware: scmi: mailbox/smt agent device")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-04-12 17:45:40 -04:00
..
Kconfig firmware: scmi: support Arm SMCCC transport 2020-09-30 11:55:23 -04:00
mailbox_agent.c scmi: cosmetic: reorder include files 2021-03-11 17:03:19 +01:00
Makefile firmware: scmi: sandbox test for SCMI clocks 2020-09-30 11:55:23 -04:00
sandbox-scmi_agent.c firmware: scmi: fix inline comments and minor coding style issues 2021-04-12 17:17:11 -04:00
sandbox-scmi_devices.c firmware: scmi: sandbox test for voltage regulator 2021-04-12 17:17:11 -04:00
scmi_agent-uclass.c firmware: scmi: voltage regulator 2021-04-12 17:17:11 -04:00
smccc_agent.c scmi: define LOG_CATEGORY 2021-03-11 17:03:19 +01:00
smt.c scmi: translate the resource only when livetree is not activated 2021-04-12 17:45:40 -04:00
smt.h firmware: scmi: mailbox/smt agent device 2020-09-30 11:55:23 -04:00