aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.18/007-fix_the_aurora_l2_cache_node.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-01-25 15:25:14 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-01-25 15:25:14 +0000
commitafa58d858975de2231afe01dcfcc03e5ad4f78c9 (patch)
tree3599cb1305414a0a9530141a942f9099f3820578 /target/linux/mvebu/patches-3.18/007-fix_the_aurora_l2_cache_node.patch
parentd26694243af236fed09a4b38f3cc68e40ad063b5 (diff)
downloadupstream-afa58d858975de2231afe01dcfcc03e5ad4f78c9.tar.gz
upstream-afa58d858975de2231afe01dcfcc03e5ad4f78c9.tar.bz2
upstream-afa58d858975de2231afe01dcfcc03e5ad4f78c9.zip
mvebu: backport some upstream changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44127
Diffstat (limited to 'target/linux/mvebu/patches-3.18/007-fix_the_aurora_l2_cache_node.patch')
-rw-r--r--target/linux/mvebu/patches-3.18/007-fix_the_aurora_l2_cache_node.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.18/007-fix_the_aurora_l2_cache_node.patch b/target/linux/mvebu/patches-3.18/007-fix_the_aurora_l2_cache_node.patch
new file mode 100644
index 0000000000..20f0f7195d
--- /dev/null
+++ b/target/linux/mvebu/patches-3.18/007-fix_the_aurora_l2_cache_node.patch
@@ -0,0 +1,40 @@
+From a9ce1afb35317d2a0646c7530f0ae9822c93cd69 Mon Sep 17 00:00:00 2001
+From: Gregory CLEMENT <gregory.clement@free-electrons.com>
+Date: Mon, 6 Oct 2014 11:37:56 +0200
+Subject: ARM: mvebu: Fix the Aurora L2 cache node with the required
+ cache-unified property
+
+The L2 cache controller on the Armada 370 and Armada XP SoCs is a
+unified cache. Moreover, the Aurora cache controller is compatible
+with the L2x0 cache controller: the "cache-unified" property is
+required by its binding.
+
+This patch fixes the Aurora L2 cache node for the Armada 370 and
+Armada XP SoCs by adding this property.
+
+Reported-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
+Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
+Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
+Link: https://lkml.kernel.org/r/1412588276-4514-1-git-send-email-gregory.clement@free-electrons.com
+Signed-off-by: Jason Cooper <jason@lakedaemon.net>
+
+--- a/arch/arm/boot/dts/armada-370.dtsi
++++ b/arch/arm/boot/dts/armada-370.dtsi
+@@ -95,6 +95,7 @@
+ compatible = "marvell,aurora-outer-cache";
+ reg = <0x08000 0x1000>;
+ cache-id-part = <0x100>;
++ cache-unified;
+ wt-override;
+ };
+
+--- a/arch/arm/boot/dts/armada-xp.dtsi
++++ b/arch/arm/boot/dts/armada-xp.dtsi
+@@ -39,6 +39,7 @@
+ compatible = "marvell,aurora-system-cache";
+ reg = <0x08000 0x1000>;
+ cache-id-part = <0x100>;
++ cache-unified;
+ wt-override;
+ };
+