[U-Boot,i.MX8MM+CCF,32/41] imx8m: set BYPASS ID SWAP to avoid AXI bus errors
diff mbox series

Message ID 20190430103056.32537-33-peng.fan@nxp.com
State Superseded
Delegated to: Stefano Babic
Headers show
  • i.MX8MM + CCF
Related show

Commit Message

Peng Fan April 30, 2019, 10:19 a.m. UTC
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>
 arch/arm/mach-imx/imx8m/soc.c | 2 ++
 1 file changed, 2 insertions(+)

diff mbox series

diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index 5e9481c565..3918578399 100644
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/mach-imx/imx8m/soc.c
@@ -59,6 +59,8 @@  void enable_tzc380(void)
 	/* Enable TZASC and lock setting */
 	setbits_le32(&gpr->gpr[10], GPR_TZASC_EN);
 	setbits_le32(&gpr->gpr[10], GPR_TZASC_EN_LOCK);
+		setbits_le32(&gpr->gpr[10], BIT(1));
 void set_wdog_reset(struct wdog_regs *wdog)