]> git.baikalelectronics.ru Git - uboot.git/commit
armv8: psci: skip setup code if we are not EL3
authorMichael Walle <michael@walle.cc>
Mon, 28 Feb 2022 12:48:39 +0000 (13:48 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:43:57 +0000 (17:13 +0530)
commit121016571eba591faf32dc272581d49d3b7cefdd
tree5cb54959ef4f59523e6345b6c1802923ee291b94
parent715bed77598aae334b9accf84be3519705ebe7a8
armv8: psci: skip setup code if we are not EL3

If we are running in EL2 skip PSCI implementation setup. This avoids an
exception if CONFIG_ARMV8_PSCI is set, but u-boot is started by TF-A.

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