2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 19:23:57 +08:00

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>
This commit is contained in:
Jason Liu 2011-08-26 10:44:14 +08:00 committed by Sascha Hauer
parent 2f81b4d977
commit e4bb9361de

View File

@ -53,4 +53,4 @@ static int mxc_init_l2x0(void)
return 0;
}
arch_initcall(mxc_init_l2x0);
early_initcall(mxc_init_l2x0);