In snagboot mode, there is no PSCI firmware and U-Boot will crash if it
attempts to make PSCI calls so disable it in this case.

Reviewed-by: Varadarajan Narayanan <[email protected]>
Signed-off-by: Balaji Selvanathan <[email protected]>
---
Changes in v4:
- Make SYSRESET_PSCI dependent on QCOM_SNAGBOOT_MODE

Changes in v3:
- No changes

Changes in v2:
- Newly introduced in v2
---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 850768282ce..bcb3cde9405 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1149,7 +1149,7 @@ config ARCH_SNAPDRAGON
        select SAVE_PREV_BL_FDT_ADDR if !ENABLE_ARM_SOC_BOOT0_HOOK
        select LINUX_KERNEL_IMAGE_HEADER if !ENABLE_ARM_SOC_BOOT0_HOOK
        select SYSRESET
-       select SYSRESET_PSCI
+       select SYSRESET_PSCI if !QCOM_SNAGBOOT_MODE
        select ANDROID_BOOT_IMAGE_IGNORE_BLOB_ADDR
        select MMU_PGPROT
        imply OF_UPSTREAM

-- 
2.34.1

Reply via email to