[PATCH] ARM: dts: am335x-myirtech: Update to use upstream DT partition scheme
Alexander Shiyan
eagle.alexander923 at gmail.com
Thu Jul 7 23:46:46 PDT 2022
Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
---
arch/arm/dts/am335x-myirtech-myd.dts | 35 +++++++---------------------
1 file changed, 8 insertions(+), 27 deletions(-)
diff --git a/arch/arm/dts/am335x-myirtech-myd.dts b/arch/arm/dts/am335x-myirtech-myd.dts
index 1ea0f2a440..54050816fc 100644
--- a/arch/arm/dts/am335x-myirtech-myd.dts
+++ b/arch/arm/dts/am335x-myirtech-myd.dts
@@ -22,33 +22,14 @@
};
-&nand0 {
- /delete-node/ partition at 0;
- /delete-node/ partition at 20000;
-
- nand_parts: partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
-
- partition at 0 {
- label = "MLO";
- reg = <0x00000 0x20000>;
- };
-
- partition at 80000 {
- label = "boot";
- reg = <0x80000 0x100000>;
- };
-
- nand_environment: partition at 180000 {
- label = "env";
- reg = <0x180000 0x40000>;
- };
+&nand_parts {
+ nand_environment: partition at 180000 {
+ label = "env";
+ reg = <0x180000 0x40000>;
+ };
- partition at 1c0000 {
- label = "system";
- reg = <0x1c0000 0>;
- };
+ partition at 1c0000 {
+ label = "system";
+ reg = <0x1c0000 0>;
};
};
--
2.32.0
More information about the barebox
mailing list