aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2011-08-25 22:44:14 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-26 02:52:36 -0400
commite4bb9361def1b1af55874859d8981525ff2b6977 (patch)
tree894d6f36c3a2d10eab5779498a34bff79317b12b /arch/arm/mach-imx
parent2f81b4d977b06fd54e797f04e05091d8da8ddfee (diff)
ARM: i.MX: initialize l2x0 at early_init time
This can make the l2 cache work at early time which will benefit the boot up time. Tested on i.mx31pdk board, test result shows: Before: arch_initcall(mxc_init_l2x0); [ 0.558755] console [ttymxc0] enabled After: early_initcall(mxc_init_l2x0); [ 0.555716] console [ttymxc0] enabled Signed-off-by: Jason Liu <jason.hui@linaro.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/cache-l2x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/cache-l2x0.c b/arch/arm/mach-imx/cache-l2x0.c
index 69d1322add3c..e5538a4d7f23 100644
--- a/arch/arm/mach-imx/cache-l2x0.c
+++ b/arch/arm/mach-imx/cache-l2x0.c
@@ -53,4 +53,4 @@ static int mxc_init_l2x0(void)
53 53
54 return 0; 54 return 0;
55} 55}
56arch_initcall(mxc_init_l2x0); 56early_initcall(mxc_init_l2x0);