diff options
| author | Sam Day <[email protected]> | 2025-01-25 19:59:15 +0000 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2025-03-17 13:38:19 +0000 |
| commit | 61a1a1b8ca73bb9c5797d9f5a300a51afffc0aaa (patch) | |
| tree | 195f0043be8069476448a1b77b8c4e8656494737 | |
| parent | 77f0638576a0e4e7f0eb06707875127f27ab90d3 (diff) | |
mach-snapdragon: use PSCI sysreset driver
Drop the `board_reset` function from mach-snapdragon board code, and
instead use the standard PSCI sysreset driver.
Signed-off-by: Sam Day <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Caleb Connolly <[email protected]>
| -rw-r--r-- | arch/arm/mach-snapdragon/board.c | 5 | ||||
| -rw-r--r-- | 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 75b9cf1a8a1..deae4d32378 100644 --- a/arch/arm/mach-snapdragon/board.c +++ b/arch/arm/mach-snapdragon/board.c @@ -255,11 +255,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 1c8b0ab4d1f..b4e7f0ad53c 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -121,6 +121,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 |
