mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-06 07:17:01 +02:00
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:
parent
25d3e0509c
commit
cf13f33d3a
@ -176,7 +176,7 @@ config SYSRESET_PALMAS
|
|||||||
config SYSRESET_PSCI
|
config SYSRESET_PSCI
|
||||||
bool "Enable support for PSCI System Reset"
|
bool "Enable support for PSCI System Reset"
|
||||||
depends on ARM_PSCI_FW
|
depends on ARM_PSCI_FW
|
||||||
select SPL_ARM_PSCI_FW if SPL
|
select SPL_ARM_PSCI_FW if SPL_SYSRESET
|
||||||
help
|
help
|
||||||
Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
|
Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
|
||||||
must be running on your system.
|
must be running on your system.
|
||||||
|
Loading…
Reference in New Issue
Block a user