]> git.openpandora.org Git - pandora-kernel.git/commitdiff
ARM: nomadik: move l2x0 setup to device tree
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 20:40:53 +0000 (22:40 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 11 Aug 2015 13:29:59 +0000 (15:29 +0200)
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>
arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
arch/arm/mach-nomadik/cpu-8815.c

index f68988ac800c764dffcd9ec6140473c693ac63f9..ce8936bebe5e7a24e5c83e4d060d0d8dc5142dd3 100644 (file)
                interrupts = <30>;
                cache-unified;
                cache-level = <2>;
+               cache-size = <131072>;
+               cache-sets = <512>;
+               cache-line-size = <32>;
+               /* At full speed latency must be >=2 */
+               arm,tag-latency = <2>;
+               arm,data-latency = <2 2>;
+               arm,dirty-latency = <2>;
        };
 
        mtu0: mtu@101e2000 {
Simple merge