Revert "ipq9574: add dload_warm_reset support"

This reverts commit 0488bd0d1f.

Change-Id: Ie576aa72e009058320aecbd70efbe2f292c026f6
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
This commit is contained in:
Kathiravan T 2021-09-02 16:47:10 +05:30 committed by Gerrit - the friendly Code Review server
parent 2bc07e0161
commit ff57de3611

View file

@ -1439,28 +1439,3 @@ void ipq_uboot_fdt_fixup(void)
}
return;
}
void fdt_fixup_set_dload_warm_reset(void *blob)
{
int nodeoff, ret;
uint32_t setval = 1;
nodeoff = fdt_path_offset(blob, "/qti,scm_restart_reason");
if (nodeoff < 0) {
printf("fixup_set_dload: unable to find scm_restart_reason node\n");
return;
}
ret = fdt_setprop_u32(blob, nodeoff, "dload_status", setval);
if (ret)
printf("fixup_set_dload: 'dload_status' not set");
ret = fdt_setprop_u32(blob, nodeoff, "dload_warm_reset", setval);
if (ret)
printf("fixup_set_dload: 'dload_warm_reset' not set");
}
void sdi_disable(void)
{
qca_scm_sdi();
}