sysreset: psci: Fix SPL dependency

SYSRESET_PSCI should select SPL_ARM_PSCI_FW only when SPL_SYSRESET is
enabled/required. This change saves 1.6kB on Xilinx ZynqMP Kria platform.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Michal Simek 2025-07-17 10:41:32 +02:00 committed by Tom Rini
parent 25d3e0509c
commit cf13f33d3a

View File

@ -176,7 +176,7 @@ config SYSRESET_PALMAS
config SYSRESET_PSCI
bool "Enable support for PSCI System Reset"
depends on ARM_PSCI_FW
select SPL_ARM_PSCI_FW if SPL
select SPL_ARM_PSCI_FW if SPL_SYSRESET
help
Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
must be running on your system.