summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-imx53.c
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2014-07-07 11:41:27 +0200
committerShawn Guo <shawn.guo@freescale.com>2014-07-18 16:11:39 +0800
commit6befda9a272b98bfb1dc772efc3564644cbfb270 (patch)
treef606cf43411e53d005cd87927fefd9fa6d200dd2 /arch/arm/mach-imx/mach-imx53.c
parente57e4ab5fc2e4e58447d13493c3e567b61359523 (diff)
ARM: i.MX53: globally disable supervisor protect
Most peripherals on the i.MX53 have an Off-Platform Peripheral Access Control Register (OPACR) in which the access rights (together with the MPROT registers) can be declared. However, this does not seem to work for example for SSI1+SDMA, because the supervisor bit is not set for the SDMA unit. It does work for SSI2, the QSB for example uses SSI2 for its audio. But SSI2 only works because it does NOT have an OPACR. The right solution would be to fix the access rights for the SDMA, but the unit responsible for this is the Central Security Unit (CSU), which of course is NOT documented. So, until documentation for this is openly available, turn off the supervisor protection because it cripples the hardware. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx53.c')
-rw-r--r--arch/arm/mach-imx/mach-imx53.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx53.c b/arch/arm/mach-imx/mach-imx53.c
index 03a0b40793d6..03dd6ea13acc 100644
--- a/arch/arm/mach-imx/mach-imx53.c
+++ b/arch/arm/mach-imx/mach-imx53.c
@@ -34,6 +34,8 @@ static void __init imx53_dt_init(void)
imx_src_init();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+
+ imx_aips_allow_unprivileged_access("fsl,imx53-aipstz");
}
static void __init imx53_init_late(void)