[PATCH 2/6] barebox: move mmc partitions to partitions subnode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Enrico Jorns <ejo@xxxxxxxxxxxxxx>

Linux kernel implicitly adds this, thus we have to add them explicitly
to stay compatible

Signed-off-by: Enrico Jorns <ejo@xxxxxxxxxxxxxx>
---
 arch/arm/dts/socfpga_arria10_achilles.dts | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/arch/arm/dts/socfpga_arria10_achilles.dts b/arch/arm/dts/socfpga_arria10_achilles.dts
index fc75afc79516..5c08be82d67f 100644
--- a/arch/arm/dts/socfpga_arria10_achilles.dts
+++ b/arch/arm/dts/socfpga_arria10_achilles.dts
@@ -201,14 +201,19 @@
 	bus-width = <1>;
 	status = "okay";
 
-	environment_mmc: partition@178000 {
-		label = "environment";
-		reg = <0x178000 0x8000>;
-	};
+	partitions {
+		compatible = "fixed-partitions";
+		#size-cells = <1>;
+		#address-cells = <1>;
+		environment_mmc: partition@178000 {
+			label = "environment";
+			reg = <0x178000 0x8000>;
+		};
 
-	state_mmc: partition@180000 {
-		label = "state";
-		reg = <0x180000 0xC00>;
+		state_mmc: partition@180000 {
+			label = "state";
+			reg = <0x180000 0xC00>;
+		};
 	};
 };
 
-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux