summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-nomadik
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-07-27 22:40:53 +0200
committerOlof Johansson <olof@lixom.net>2015-08-11 15:29:59 +0200
commit98badfd31ccb1448866b99cb6a64ad227d141d22 (patch)
treee2ef6b786bd186183c3d2ead5595b46946057d9d /arch/arm/mach-nomadik
parentARM: nomadik: selectively enable UART0 on boards (diff)
downloadlinux-98badfd31ccb1448866b99cb6a64ad227d141d22.tar.xz
linux-98badfd31ccb1448866b99cb6a64ad227d141d22.zip
ARM: nomadik: move l2x0 setup to device tree
The cache setup magic value in the Nomadik machine is plain wrong, the correct settings can be done using device tree in accordance with the settings from ST's own port. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-nomadik')
-rw-r--r--arch/arm/mach-nomadik/cpu-8815.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-nomadik/cpu-8815.c b/arch/arm/mach-nomadik/cpu-8815.c
index 82831dc6122f..0c612d95bd5c 100644
--- a/arch/arm/mach-nomadik/cpu-8815.c
+++ b/arch/arm/mach-nomadik/cpu-8815.c
@@ -114,9 +114,8 @@ static const char * cpu8815_board_compat[] = {
};
DT_MACHINE_START(NOMADIK_DT, "Nomadik STn8815")
- /* At full speed latency must be >=2, so 0x249 in low bits */
- .l2c_aux_val = 0x00700249,
- .l2c_aux_mask = 0xfe0fefff,
+ .l2c_aux_val = 0,
+ .l2c_aux_mask = ~0,
.map_io = cpu8815_map_io,
.restart = cpu8815_restart,
.dt_compat = cpu8815_board_compat,