projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59efa6b
)
imx8m: set BYPASS ID SWAP to avoid AXI bus errors
author
Peng Fan
<peng.fan@nxp.com>
Tue, 27 Aug 2019 06:25:30 +0000
(06:25 +0000)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000
(16:36 +0200)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx8m/soc.c
b/arch/arm/mach-imx/imx8m/soc.c
index dd393b581be9b713cff64dad1c163e72beba19a9..261f586fc02d1a54755fcf3f2bd0f8057d4a1646 100644
(file)
--- a/
arch/arm/mach-imx/imx8m/soc.c
+++ b/
arch/arm/mach-imx/imx8m/soc.c
@@
-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)