MLK-23574-20 sysreset: Fix Kconfig issue for SPL
authorYe Li <ye.li@nxp.com>
Mon, 30 Mar 2020 08:56:50 +0000 (01:56 -0700)
committerYe Li <ye.li@nxp.com>
Wed, 28 Apr 2021 20:24:52 +0000 (13:24 -0700)
Should check SPL_SYSRESET if need to enable ARM firmware for PSCI
in SPL.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 13940d2edf69e61add059fd76127b96e3b03785d)

drivers/sysreset/Kconfig

index ac77ffb..ac4e69b 100644 (file)
@@ -80,7 +80,7 @@ config SYSRESET_OCTEON
 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.