]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: meson: enable SYSRESET_PSCI
authorFerass El Hafidi <funderscore@postmarketos.org>
Wed, 22 Apr 2026 15:43:24 +0000 (15:43 +0000)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 22 Apr 2026 16:27:26 +0000 (18:27 +0200)
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>
arch/arm/mach-meson/Kconfig

index ef86129b5354e9700f9a9cc9fdafe05caa531d9e..c687ef822a2f75899fc01af5e70ed3a1f76e9b18 100644 (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