summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2017-02-16 20:54:39 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2017-03-17 13:01:27 +0300
commita96bb197693eb9e7a7221867bd944ccd6b6e12e6 (patch)
treec9f6212a946bb67938273aebf12c24cb03352f41 /arch
parent471b5e42cc7d76678314542d0ce079e5f3cfb706 (diff)
downloadlinux-a96bb197693eb9e7a7221867bd944ccd6b6e12e6.tar.xz
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 <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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-shmobile/setup-r7s72100.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-r7s72100.c b/arch/arm/mach-shmobile/setup-r7s72100.c
index d46639fc6849..319ca9508ec6 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,