summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/mach/sharpsl_param.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-09-28 17:16:05 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-09-28 13:41:01 +0200
commitddd5f51bf661f49fb5f2be371ff1cf9cfe5fa98b (patch)
treec381f21c5534c79819cf28424d9c7c38e1ad3095 /arch/arm/include/asm/mach/sharpsl_param.h
parent742b6c6f3e15331cec4ab420a639d5239ef2a02a (diff)
downloadblackbird-op-linux-ddd5f51bf661f49fb5f2be371ff1cf9cfe5fa98b.tar.gz
blackbird-op-linux-ddd5f51bf661f49fb5f2be371ff1cf9cfe5fa98b.zip
arm/imx: change mxc_init_l2x0() to an imx31/35 specific call
The mxc_init_l2x0() should really be an imx31/35 specific call. The patch removes early_initcall from mxc_init_l2x0() and get imx31 and imx35 soc specific function calls mxc_init_l2x0(), so that it's not necessarily to be called for all imx socs when we build single image for multiple imx socs. Thus the function can be renamed to imx3_init_l2x0() and put into mm-imx3.c. It also changes the return type from integer to void. From what I see, the integer was picked just to satisfy early_initcall prototype. With the patch 'ARM: l2x0: add empty l2x0_of_init' applied, the code compiles even without CONFIG_CACHE_L2X0 enabled. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/include/asm/mach/sharpsl_param.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud