diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-10-15 22:14:42 -0500 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-10-15 22:14:42 -0500 |
commit | 141bc97c1bfe31397b2a12e5676d0c2692c8e07e (patch) | |
tree | 9beb09251a6d37c7e30db5fe6e10677a9b0840ff /drivers/remoteproc | |
parent | 526b9e0cf3780cfa529edb3d62bc2714e5c019e1 (diff) |
remoteproc/mediatek: Remove non-standard dsb()
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 <sfr@canb.auug.org.au>
Suggested-by: Pi-Hsun Shih <pihsun@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r-- | drivers/remoteproc/mtk_scp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/remoteproc/mtk_scp.c b/drivers/remoteproc/mtk_scp.c index 78d7905366fd..577cbd5d421e 100644 --- a/drivers/remoteproc/mtk_scp.c +++ b/drivers/remoteproc/mtk_scp.c @@ -323,10 +323,6 @@ static int mt8192_scp_before_load(struct mtk_scp *scp) 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); |