Commit dbb2b7e50899ea6651bdc4c931427e6152493ba2
Committed by
Stefano Babic
1 parent
59efa6b52b
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
imx8m: set BYPASS ID SWAP to avoid AXI bus errors
set the BYPASS ID SWAP bit (GPR10 bit 1) in order for GPU not to generated AXI bus errors with TZC380 enabled. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
arch/arm/mach-imx/imx8m/soc.c
... | ... | @@ -55,6 +55,8 @@ |
55 | 55 | /* Enable TZASC and lock setting */ |
56 | 56 | setbits_le32(&gpr->gpr[10], GPR_TZASC_EN); |
57 | 57 | setbits_le32(&gpr->gpr[10], GPR_TZASC_EN_LOCK); |
58 | + if (IS_ENABLED(CONFIG_IMX8MM)) | |
59 | + setbits_le32(&gpr->gpr[10], BIT(1)); | |
58 | 60 | } |
59 | 61 | |
60 | 62 | void set_wdog_reset(struct wdog_regs *wdog) |