aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_variable.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2023-10-01 23:52:12 +0100
committerTom Rini <trini@konsulko.com>2023-10-11 13:22:32 -0400
commit3d5e52bd97f747694fac9259b4d2879a48256a7b (patch)
tree0d890a9bbfee9ba9de28c3e3334dbba1343c4aaf /lib/efi_loader/efi_variable.c
parent89cfa35bfc4c5bcabdcf31c8e4631e0dddd508c3 (diff)
ARM: psci: move GIC address override to Kconfig
As the code to switch an ARM core from secure to the non-secure state needs to know the base address of the Generic Interrupt Controller (GIC), we read an Arm Cortex defined system register that is supposed to hold that base address. However there are SoCs out there that get this wrong, and this CBAR register either reads as 0 or points to the wrong address. To accommodate those systems, so far we use a macro defined in some platform specific header files, for affected boards. To simplify future extensions, replace that macro with a Kconfig variable that holds this override address, and define a default value for SoCs that need it. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Sam Edwards <CFSworks@gmail.com>
Diffstat (limited to 'lib/efi_loader/efi_variable.c')
0 files changed, 0 insertions, 0 deletions