
Drop the `board_reset` function from mach-snapdragon board code, and instead use the standard PSCI sysreset driver.
Signed-off-by: Sam Day me@samcday.com --- arch/arm/mach-snapdragon/board.c | 5 ----- configs/qcom_defconfig | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c index 2ef936aab757c7045729a2dd91944f4f9bff917e..eba98b73ae629671662ecc2b060544a931718748 100644 --- a/arch/arm/mach-snapdragon/board.c +++ b/arch/arm/mach-snapdragon/board.c @@ -187,11 +187,6 @@ int board_fdt_blob_setup(void **fdtp) return ret; }
-void reset_cpu(void) -{ - psci_system_reset(); -} - /* * Some Qualcomm boards require GPIO configuration when switching USB modes. * Support setting this configuration via pinctrl state. diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index a4e7a21c31151103e4272147bc27eeddb11b41ed..d19be69190da4e2ddfbb60c4d44ff793e804c523 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -119,6 +119,8 @@ CONFIG_QCOM_RPMH=y CONFIG_SPMI_MSM=y CONFIG_SYSINFO=y CONFIG_SYSINFO_SMBIOS=y +CONFIG_SYSRESET=y +CONFIG_SYSRESET_PSCI=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y