As reported by Stephen, dsb() is not declared on e.g. x86_64, preventing
the mtp_scp from building. Simply remove the barrier (and the readback),
suggested by Pi-Hsun to resolve this.
Fixes: fd0b6c1ff85a ("remoteproc/mediatek: Add support for mt8192 SCP")
Reported-by: Stephen Rothwell <[email protected]>
Suggested-by: Pi-Hsun Shih <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
writel(1, scp->reg_base + MT8192_CORE0_SW_RSTN_SET);
- dsb(sy);
-
- readl(scp->reg_base + MT8192_CORE0_SW_RSTN_SET);
-
/* enable SRAM clock */
mt8192_power_on_sram(scp->reg_base + MT8192_L2TCM_SRAM_PD_0);
mt8192_power_on_sram(scp->reg_base + MT8192_L2TCM_SRAM_PD_1);