remoteproc: k3-r5: Acquire processor control before reset ops
Acquire processor control before doing core reset operations in probe routine. Release the control afterwards, so that it can be acquired during core loading operations. Signed-off-by: Beleswar Padhi <b-padhi@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
This commit is contained in:
@@ -834,8 +834,14 @@ static int k3_r5f_probe(struct udevice *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = k3_r5f_proc_request(core);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* Make sure Local reset is asserted. Redundant? */
|
||||
reset_assert(&core->reset);
|
||||
|
||||
ti_sci_proc_release(&core->tsp);
|
||||
}
|
||||
|
||||
ret = k3_r5f_rproc_configure(core);
|
||||
|
||||
Reference in New Issue
Block a user