Enable CONFIG_DM_REBOOT_MODE and CONFIG_REBOOT_MODE_PSCI in the shared
qcom_defconfig so the "reset -<mode>" command can trigger the reset modes
declared under the psci "reboot-mode" device tree subnode (for example
"reset -edl").

Signed-off-by: Balaji Selvanathan <[email protected]>
---
 configs/qcom_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index c52f619850d..8703472d13e 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -124,6 +124,8 @@ CONFIG_PMIC_QCOM=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_QCOM_RPMH=y
+CONFIG_DM_REBOOT_MODE=y
+CONFIG_REBOOT_MODE_PSCI=y
 CONFIG_DM_RNG=y
 CONFIG_RNG_MSM=y
 CONFIG_SCSI=y

-- 
2.34.1

Reply via email to