From: Peng Fan Date: Fri, 27 Dec 2019 02:19:42 +0000 (+0800) Subject: imx8mp: set BYPASS ID SWAP to avoid AXI bus errors X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a07c7181296fe02f36eaf1b902bc37a101b2802d;p=u-boot.git imx8mp: 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 --- diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 9a039ce127..7fcbd53f30 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -57,7 +57,7 @@ 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); - if (is_imx8mm() || is_imx8mn()) + if (is_imx8mm() || is_imx8mn() || is_imx8mp()) setbits_le32(&gpr->gpr[10], BIT(1)); /* * set Region 0 attribute to allow secure and non-secure