[PATCH] sysreset: psci: Fix SPL dependency
Michal Simek
michal.simek at amd.com
Thu Jul 17 10:41:32 CEST 2025
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 at amd.com>
---
drivers/sysreset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig
index aa83073c96a7..67edf004205c 100644
--- a/drivers/sysreset/Kconfig
+++ b/drivers/sysreset/Kconfig
@@ -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.
--
2.43.0
base-commit: ea9b7094949916938ae6aff345422eb0f125868f
More information about the U-Boot
mailing list