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 <me@samcday.com> Link: https://lore.kernel.org/r/20250125-msm8916-sysreset-v1-1-62073932ff0e@samcday.com Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
@@ -255,11 +255,6 @@ int board_fdt_blob_setup(void **fdtp)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void reset_cpu(void)
|
|
||||||
{
|
|
||||||
psci_system_reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Some Qualcomm boards require GPIO configuration when switching USB modes.
|
* Some Qualcomm boards require GPIO configuration when switching USB modes.
|
||||||
* Support setting this configuration via pinctrl state.
|
* Support setting this configuration via pinctrl state.
|
||||||
|
@@ -121,6 +121,8 @@ CONFIG_QCOM_RPMH=y
|
|||||||
CONFIG_SPMI_MSM=y
|
CONFIG_SPMI_MSM=y
|
||||||
CONFIG_SYSINFO=y
|
CONFIG_SYSINFO=y
|
||||||
CONFIG_SYSINFO_SMBIOS=y
|
CONFIG_SYSINFO_SMBIOS=y
|
||||||
|
CONFIG_SYSRESET=y
|
||||||
|
CONFIG_SYSRESET_PSCI=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
CONFIG_USB_XHCI_HCD=y
|
CONFIG_USB_XHCI_HCD=y
|
||||||
CONFIG_USB_XHCI_DWC3=y
|
CONFIG_USB_XHCI_DWC3=y
|
||||||
|
Reference in New Issue
Block a user