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>
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.