diff options
author | Sekhar Nori <nsekhar@ti.com> | 2014-04-22 13:58:01 +0530 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-05-30 00:49:49 +0100 |
commit | b39b14e62ac3d0a66d13123ef85aaa83fd7c90fc (patch) | |
tree | a5f65b29fc0d333e9c7df4c143687f6bdcd31782 /arch/arm/mach-omap2/common.h | |
parent | d196483dfce233da7d6094371e694eadd7e4cc1b (diff) | |
download | lwn-b39b14e62ac3d0a66d13123ef85aaa83fd7c90fc.tar.gz lwn-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/common.h')
-rw-r--r-- | arch/arm/mach-omap2/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index d88aff7baff8..ff029737c8f0 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h @@ -91,6 +91,7 @@ extern void omap3_sync32k_timer_init(void); extern void omap3_secure_sync32k_timer_init(void); extern void omap3_gptimer_timer_init(void); extern void omap4_local_timer_init(void); +int omap_l2_cache_init(void); extern void omap5_realtime_timer_init(void); void omap2420_init_early(void); |