mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
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>
This commit is contained in:
parent
59efa6b52b
commit
dbb2b7e508
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,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);
|
||||
if (IS_ENABLED(CONFIG_IMX8MM))
|
||||
setbits_le32(&gpr->gpr[10], BIT(1));
|
||||
}
|
||||
|
||||
void set_wdog_reset(struct wdog_regs *wdog)
|
||||
|
|
Loading…
Add table
Reference in a new issue