summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2023-10-01 23:52:12 +0100
committerTom Rini <[email protected]>2023-10-11 13:22:32 -0400
commit3d5e52bd97f747694fac9259b4d2879a48256a7b (patch)
tree0d890a9bbfee9ba9de28c3e3334dbba1343c4aaf /include
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 <[email protected]> Reviewed-by: Sam Edwards <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/arndale.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/arndale.h b/include/configs/arndale.h
index b56effcd411..fa642564f4b 100644
--- a/include/configs/arndale.h
+++ b/include/configs/arndale.h
@@ -18,7 +18,4 @@
#define CFG_SMP_PEN_ADDR 0x02020000
-/* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
-#define CFG_ARM_GIC_BASE_ADDRESS 0x10480000
-
#endif /* __CONFIG_H */