ARM: l2c: omap2+: get rid of init call
commitb39b14e62ac3d0a66d13123ef85aaa83fd7c90fc
authorSekhar Nori <nsekhar@ti.com>
Tue, 22 Apr 2014 08:28:01 +0000 (22 13:58 +0530)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:49:49 +0000 (30 00:49 +0100)
treea5f65b29fc0d333e9c7df4c143687f6bdcd31782
parentd196483dfce233da7d6094371e694eadd7e4cc1b
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>
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap4-common.c