Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: i.MX25: globally disable supervisor protect

The problem described in commit 6befda9a272b ("ARM: i.MX53: globally
disable supervisor protect") for the i.MX53 platform applies to i.MX25
as well.

E.g. CSPI1+SDMA and SSI1+SDMA are not working with the default AIPS
configuration. Modifiy the AIPS configuration to allow access to the bus
by SDMA and peripherals.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Martin Kaiser and committed by
Shawn Guo
24bb244e 901f26bc

+6
+6
arch/arm/mach-imx/mach-imx25.c
··· 23 23 mxc_set_cpu_type(MXC_CPU_MX25); 24 24 } 25 25 26 + static void __init imx25_dt_init(void) 27 + { 28 + imx_aips_allow_unprivileged_access("fsl,imx25-aips"); 29 + } 30 + 26 31 static void __init mx25_init_irq(void) 27 32 { 28 33 struct device_node *np; ··· 46 41 47 42 DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)") 48 43 .init_early = imx25_init_early, 44 + .init_machine = imx25_dt_init, 49 45 .init_late = imx25_pm_init, 50 46 .init_irq = mx25_init_irq, 51 47 .dt_compat = imx25_dt_board_compat,