aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <[email protected]>2015-07-29 23:50:59 +0200
committerOlof Johansson <[email protected]>2015-08-11 15:17:23 +0200
commitdb44f1342d8c2606dbbcbcab83741a3d1c872cff (patch)
tree8685100d29240f7cf4fca1f1582ac3d088dc4a4a
parent42d0a99fd64ce01950d57c140aafa59defbb2ebb (diff)
ARM: BCM5301X: activate some additional options in pl310 cache controller
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 <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
-rw-r--r--arch/arm/boot/dts/bcm5301x.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index 21fefd4cdc25..0bae9825c0b0 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -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>;
};
};