]> git.baikalelectronics.ru Git - uboot.git/commit
armv8: include psci_update_dt() unconditionally
authorMichael Walle <michael@walle.cc>
Mon, 28 Feb 2022 12:48:37 +0000 (13:48 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:43:57 +0000 (17:13 +0530)
commit600fe2c249cbf5d4c7b1eef435ff9a5776613150
tree3c784e8f5ccf168b3e5e1a10a1f9d0f29cc87e24
parentf1e636beac8f78b5527d30ecaf86b38fb40f7388
armv8: include psci_update_dt() unconditionally

psci_update_dt() is also required if CONFIG_ARMV8_PSCI is set, that is,
if u-boot is the PSCI provider.
Guard the check which is intended to call into the PSCI implementation
in the secure firmware, by the proper macro SEC_FIRMWARE_ARMV8_PSCI.

Mark the function as weak because - unfortunately - there is already
a stub of the same function in arch/arm/mach-rmobile/psci-r8a779a0.c
which does not the same as the common one.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/cpu-dt.c