From: Enrico Jorns <[email protected]>

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

Signed-off-by: Enrico Jorns <[email protected]>
---
 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to