ARM: 8660/1: shmobile: r7s72100: Enable L2 cache
authorChris Brandt <chris.brandt@renesas.com>
Thu, 16 Feb 2017 17:54:39 +0000 (18:54 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 17 Mar 2017 10:01:27 +0000 (10:01 +0000)
Even though L2C is specified in the DT, you still need to add the aux
settings in the machine_desc.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-shmobile/setup-r7s72100.c

index d46639f..319ca95 100644 (file)
@@ -26,6 +26,8 @@ static const char *const r7s72100_boards_compat_dt[] __initconst = {
 };
 
 DT_MACHINE_START(R7S72100_DT, "Generic R7S72100 (Flattened Device Tree)")
+       .l2c_aux_val    = 0,
+       .l2c_aux_mask   = ~0,
        .init_early     = shmobile_init_delay,
        .init_late      = shmobile_init_late,
        .dt_compat      = r7s72100_boards_compat_dt,