]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: l2c: AM43x: add L2 cache support
authorSekhar Nori <nsekhar@ti.com>
Tue, 22 Apr 2014 08:28:03 +0000 (13:58 +0530)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Apr 2014 18:17:27 +0000 (19:17 +0100)
Add support for L2 cache controller (PL310) on AM437x SoC.

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/Kconfig
arch/arm/mach-omap2/io.c

index cb31d4390d5290ff7216e6facf9cb0688e71e167..0ba482638ebfd1f72c4ad189834ea969cc1f510c 100644 (file)
@@ -65,6 +65,7 @@ config SOC_AM43XX
        select ARCH_HAS_OPP
        select ARM_GIC
        select MACH_OMAP_GENERIC
+       select MIGHT_HAVE_CACHE_L2X0
 
 config SOC_DRA7XX
        bool "TI DRA7XX"
index b28299b5afd544a89b91c4064e5d37eab9438bd5..4e2df49991adee214659b8f2d7f72b308873869c 100644 (file)
@@ -609,6 +609,7 @@ void __init am43xx_init_early(void)
        am43xx_clockdomains_init();
        am43xx_hwmod_init();
        omap_hwmod_init_postsetup();
+       omap_l2_cache_init();
        omap_clk_soc_init = am43xx_dt_clk_init;
 }