summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/imx35-dt.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-06-19 03:09:31 +0200
committerShawn Guo <shawnguo@kernel.org>2016-06-21 14:40:47 +0200
commit510aca642040cfb05e392218f6540ea35af51916 (patch)
treebf4b1a9670ba0437c83e0703b5a93fe9140f4367 /arch/arm/mach-imx/imx35-dt.c
parentARM: i.MX: system.c: Tweak prefetch settings for performance (diff)
downloadlinux-510aca642040cfb05e392218f6540ea35af51916.tar.xz
linux-510aca642040cfb05e392218f6540ea35af51916.zip
ARM: i.MX: Do not explicitly call l2x0_of_init()
There's no need to explicitly call l2x0_of_init() since it will be called as a part of init_IRQ() (see arch/arm/kernel/irq.c for details). This way we can simplify imx_init_l2cache() and ditch the call to it on i.MX35 (which does not claim compatibility with "arm,pl310-cache") alltogether. Acked-by: Arnd Bergmann <arnd@arndb.de> Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/imx35-dt.c')
-rw-r--r--arch/arm/mach-imx/imx35-dt.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/imx35-dt.c b/arch/arm/mach-imx/imx35-dt.c
index e9396037235d..99bb63dedb87 100644
--- a/arch/arm/mach-imx/imx35-dt.c
+++ b/arch/arm/mach-imx/imx35-dt.c
@@ -20,20 +20,16 @@
#include "common.h"
#include "mx35.h"
-static void __init imx35_irq_init(void)
-{
- imx_init_l2cache();
- mx35_init_irq();
-}
-
static const char * const imx35_dt_board_compat[] __initconst = {
"fsl,imx35",
NULL
};
DT_MACHINE_START(IMX35_DT, "Freescale i.MX35 (Device Tree Support)")
+ .l2c_aux_val = 0,
+ .l2c_aux_mask = ~0,
.map_io = mx35_map_io,
.init_early = imx35_init_early,
- .init_irq = imx35_irq_init,
+ .init_irq = mx35_init_irq,
.dt_compat = imx35_dt_board_compat,
MACHINE_END