ARM: imx: let L2 initialization be a common function
authorShawn Guo <shawn.guo@linaro.org>
Mon, 8 Jul 2013 13:45:20 +0000 (21:45 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 16 Aug 2013 05:11:22 +0000 (13:11 +0800)
commite6a07569611daf4190c0fd2c2bb1e2189c0cb479
tree26f52525e498ae233ca0a55a781541ab7aa8d539
parent8bba8303b059ddcdcac647efa816b4c04ea42eee
ARM: imx: let L2 initialization be a common function

Move imx6q L2 initialization function imx6q_init_l2cache() into
system.c, and rename it imx_init_l2cache(), so that other platforms
other than imx6q can also use the function.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/mach-imx6q.c
arch/arm/mach-imx/system.c