* [[PATCH v2] ARM: i.MX: initialize l2x0 at early_init time
@ 2011-08-26 2:44 Jason Liu
2011-08-26 8:18 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Jason Liu @ 2011-08-26 2:44 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
arch/arm/mach-imx/cache-l2x0.c | 2 +-
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 69d1322..e5538a4 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)
return 0;
}
-arch_initcall(mxc_init_l2x0);
+early_initcall(mxc_init_l2x0);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [[PATCH v2] ARM: i.MX: initialize l2x0 at early_init time
2011-08-26 2:44 [[PATCH v2] ARM: i.MX: initialize l2x0 at early_init time Jason Liu
@ 2011-08-26 8:18 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2011-08-26 8:18 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 26, 2011 at 10:44:14AM +0800, Jason Liu wrote:
> 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>
Applied for next.
Sascha
> Cc: Sascha Hauer <s.hauer@pengutronix.de>
> ---
> arch/arm/mach-imx/cache-l2x0.c | 2 +-
> 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 69d1322..e5538a4 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)
>
> return 0;
> }
> -arch_initcall(mxc_init_l2x0);
> +early_initcall(mxc_init_l2x0);
> --
> 1.7.4.1
>
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-26 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-26 2:44 [[PATCH v2] ARM: i.MX: initialize l2x0 at early_init time Jason Liu
2011-08-26 8:18 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).