浏览代码

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>
Chris Brandt 8 年之前
父节点
当前提交
a96bb19769
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm/mach-shmobile/setup-r7s72100.c

+ 2 - 0
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,