The ofpart partition fixup will use #address-cells = <2> and #size-cells
= <2>. Use the same in the dts file to make the diff between the live
tree and its fixed version smaller.

Signed-off-by: Sascha Hauer <[email protected]>
---
 arch/arm/dts/rk3568-evb1-v10.dts | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm/dts/rk3568-evb1-v10.dts b/arch/arm/dts/rk3568-evb1-v10.dts
index bd583015e8..ebfd45ada8 100644
--- a/arch/arm/dts/rk3568-evb1-v10.dts
+++ b/arch/arm/dts/rk3568-evb1-v10.dts
@@ -472,17 +472,17 @@
 
        partitions {
                compatible = "fixed-partitions";
-               #address-cells = <1>;
-               #size-cells = <1>;
+               #address-cells = <2>;
+               #size-cells = <2>;
 
                partition@8000 {
                        label = "barebox";
-                       reg = <0x8000 0x400000>;
+                       reg = <0x0 0x8000 0x0 0x400000>;
                };
 
                environment_emmc: partition@408000 {
                        label = "barebox-environment";
-                       reg = <0x408000 0x8000>;
+                       reg = <0x0 0x408000 0x0 0x8000>;
                };
        };
 };
@@ -503,17 +503,17 @@
 
        partitions {
                compatible = "fixed-partitions";
-               #address-cells = <1>;
-               #size-cells = <1>;
+               #address-cells = <2>;
+               #size-cells = <2>;
 
                partition@8000 {
                        label = "barebox";
-                       reg = <0x8000 0x400000>;
+                       reg = <0x0 0x8000 0x0 0x400000>;
                };
 
                environment_sd: partition@408000 {
                        label = "barebox-environment";
-                       reg = <0x408000 0x8000>;
+                       reg = <0x0 0x408000 0x0 0x8000>;
                };
        };
 };
-- 
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to