
10 May
2024
10 May
'24
3:10 a.m.
On Fri, May 10, 2024 at 12:06:00AM +0100, Andre Przywara wrote:
At the moment enabling CONFIG_SYSRESET_PSCI *selects* SPL_ARM_PSCI_FW, even though this is a platform design property, so nothing any driver should enforce. Some platforms load the PSCI runtime (TF-A) only in the SPL, so PSCI is naturally not available during SPL runtime.
Spit CONFIG_SYSRESET_PSCI up into an SPL and a U-Boot proper version, and let the former *depend* on SPL_ARM_PSCI_FW.
This allows to enable CONFIG_SYSRESET_PSCI on platforms without SPL PSCI support.
Signed-off-by: Andre Przywara andre.przywara@arm.com
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom