]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: BCM5301X: activate some additional options in pl310 cache controller
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 29 Jul 2015 21:50:59 +0000 (23:50 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 11 Aug 2015 13:17:23 +0000 (15:17 +0200)
In the default Broadcom SDK the shared override is activated for this
cache controller, do the same in the upstream code. Data and
instruction prefetching is not activated by default for this cache
controller on the bcm53xx SoC, do it manually like it is done in the
vendor SDK.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/bcm5301x.dtsi

index 21fefd4cdc2535a2ce5857c4e3523063c0196808..0bae9825c0b0c8f4c5d5a340ee1c2e0e6854c248 100644 (file)
@@ -78,6 +78,9 @@
                        compatible = "arm,pl310-cache";
                        reg = <0x2000 0x1000>;
                        cache-unified;
+                       arm,shared-override;
+                       prefetch-data = <1>;
+                       prefetch-instr = <1>;
                        cache-level = <2>;
                };
        };