arm: meson: enable SYSRESET_PSCI

Previously, Amlogic SoCs defined their own reset_cpu() implementation
that essentially just did what the sysreset PSCI driver already
supports. To reduce duplication (and allow for EFI Capsule on Disk
support), make use of it instead of a board-specific reset_cpu.

This does not affect SPL, as in that stage we do not actually have PSCI
(BL31 is not loaded yet at that point). Also, boards that don't select
PSCI support in their config will not have it enabled.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Link: https://patch.msgid.link/20260422-b4-amlogic-sysreset-capsules-v3-2-07b5ccc8f552@postmarketos.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
Ferass El Hafidi
2026-04-22 15:43:24 +00:00
committed by Neil Armstrong
parent 93c13379a4
commit 63a0b3e9ab

View File

@@ -12,6 +12,8 @@ config MESON64_COMMON
select MMC_PWRSEQ
select BOARD_LATE_INIT
select MESON_SM
imply SYSRESET
imply SYSRESET_PSCI
imply CMD_DM
config MESON_GX