summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/io.c
diff options
context:
space:
mode:
authorSekhar Nori2014-04-22 10:28:01 +0200
committerRussell King2014-05-30 01:49:49 +0200
commitb39b14e62ac3d0a66d13123ef85aaa83fd7c90fc (patch)
treea5f65b29fc0d333e9c7df4c143687f6bdcd31782 /arch/arm/mach-omap2/io.c
parentARM: l2c: omap2+: get rid of redundant cache replacement policy setting (diff)
downloadkernel-qcow2-linux-b39b14e62ac3d0a66d13123ef85aaa83fd7c90fc.tar.gz
kernel-qcow2-linux-b39b14e62ac3d0a66d13123ef85aaa83fd7c90fc.tar.xz
kernel-qcow2-linux-b39b14e62ac3d0a66d13123ef85aaa83fd7c90fc.zip
ARM: l2c: omap2+: get rid of init call
Get rid of init call to initialize L2 cache. Instead use the init_early machine hook. This helps in using the initialization routine across SoCs without the need of ugly cpu_is_*() checks. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r--arch/arm/mach-omap2/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index f14f9ac2dca1..b28299b5afd5 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -640,6 +640,7 @@ void __init omap4430_init_early(void)
omap44xx_clockdomains_init();
omap44xx_hwmod_init();
omap_hwmod_init_postsetup();
+ omap_l2_cache_init();
omap_clk_soc_init = omap4xxx_dt_clk_init;
}