[PATCH] ARM: psci: move GIC address override to Kconfig

Tom Rini trini at konsulko.com
Wed Oct 11 20:38:11 CEST 2023


On Sun, Oct 01, 2023 at 11:52:12PM +0100, Andre Przywara wrote:

> 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 at arm.com>
> Reviewed-by: Sam Edwards <CFSworks at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231011/7679fa05/attachment.sig>


More information about the U-Boot mailing list