| From 44190534ecc21378fe400df0ba872f720f4578ff Mon Sep 17 00:00:00 2001 |
| From: Chris Brandt <chris.brandt@renesas.com> |
| Date: Thu, 16 Feb 2017 18:54:39 +0100 |
| Subject: [PATCH 084/286] 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> |
| (cherry picked from commit a96bb197693eb9e7a7221867bd944ccd6b6e12e6) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/setup-r7s72100.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| --- 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 |
| }; |
| |
| 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, |