On 15/08/2023 15:59, Robert Marko wrote: > Some SoC-s like IPQ5018 require SDI(Secure Debug Image) to be disabled > before trying to reboot, otherwise board will just hang after reboot has > been issued via PSCI. > > So, provide a call to SCM that allows disabling it. > > Signed-off-by: Robert Marko <robimarko@xxxxxxxxx> > Acked-by: Mukesh Ojha <quic_mojha@xxxxxxxxxxx> > --- > drivers/firmware/qcom_scm.c | 23 +++++++++++++++++++++++ > drivers/firmware/qcom_scm.h | 1 + > 2 files changed, 24 insertions(+) This should be squashed with next patch. Adding local function without user is useless. Best regards, Krzysztof