Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dbdb8e7 authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Jason Cooper
Browse files

ARM: mvebu: Fix the improper use of the compatible string armada38x using a wildcard



Wildcards in compatible strings should be avoid. "marvell,armada38x"
was recently introduced but was not yet used.

The armada 385 SoC is a superset of the armada 380 SoC (with more CPUs
and more PCIe slots). So this patch replaces the use of
"marvell,armada38x" by the "marvell,armada380" string.

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1403533011-21339-1-git-send-email-gregory.clement@free-electrons.com


Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent b514fb28
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -6,5 +6,15 @@ following property:

Required root node property:

 - compatible: must contain either "marvell,armada380" or
   "marvell,armada385" depending on the variant of the SoC being used.
 - compatible: must contain "marvell,armada380"

In addition, boards using the Marvell Armada 385 SoC shall have the
following property before the previous one:

Required root node property:

compatible: must contain "marvell,armada385"

Example:

compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380";
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

/ {
	model = "Marvell Armada 380 family SoC";
	compatible = "marvell,armada380", "marvell,armada38x";
	compatible = "marvell,armada380";

	cpus {
		#address-cells = <1>;
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

/ {
	model = "Marvell Armada 385 Development Board";
	compatible = "marvell,a385-db", "marvell,armada385", "marvell,armada38x";
	compatible = "marvell,a385-db", "marvell,armada385", "marvell,armada380";

	chosen {
		bootargs = "console=ttyS0,115200 earlyprintk";
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

/ {
	model = "Marvell Armada 385 Reference Design";
	compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada38x";
	compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380";

	chosen {
		bootargs = "console=ttyS0,115200 earlyprintk";
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

/ {
	model = "Marvell Armada 385 family SoC";
	compatible = "marvell,armada385", "marvell,armada38x";
	compatible = "marvell,armada385", "marvell,armada380";

	cpus {
		#address-cells = <1>;
Loading