From: Chris Brandt Date: Thu, 16 Feb 2017 17:54:39 +0000 (+0100) Subject: ARM: 8660/1: shmobile: r7s72100: Enable L2 cache X-Git-Tag: v4.14-rc1~965^2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a96bb197693eb9e7a7221867bd944ccd6b6e12e6;p=platform%2Fkernel%2Flinux-rpi.git ARM: 8660/1: shmobile: r7s72100: Enable L2 cache 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 Reviewed-by: Geert Uytterhoeven Acked-by: Arnd Bergmann Signed-off-by: Russell King --- diff --git a/arch/arm/mach-shmobile/setup-r7s72100.c b/arch/arm/mach-shmobile/setup-r7s72100.c index d46639f..319ca95 100644 --- a/arch/arm/mach-shmobile/setup-r7s72100.c +++ b/arch/arm/mach-shmobile/setup-r7s72100.c @@ -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,