From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: barebox@lists.infradead.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH] ARM: dts: am335x-myirtech: Update to use upstream DT partition scheme
Date: Fri, 8 Jul 2022 09:46:46 +0300 [thread overview]
Message-ID: <20220708064646.10843-1-eagle.alexander923@gmail.com> (raw)
Signed-off-by: Alexander Shiyan <eagle.alexander923@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@0;
- /delete-node/ partition@20000;
-
- nand_parts: partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
-
- partition@0 {
- label = "MLO";
- reg = <0x00000 0x20000>;
- };
-
- partition@80000 {
- label = "boot";
- reg = <0x80000 0x100000>;
- };
-
- nand_environment: partition@180000 {
- label = "env";
- reg = <0x180000 0x40000>;
- };
+&nand_parts {
+ nand_environment: partition@180000 {
+ label = "env";
+ reg = <0x180000 0x40000>;
+ };
- partition@1c0000 {
- label = "system";
- reg = <0x1c0000 0>;
- };
+ partition@1c0000 {
+ label = "system";
+ reg = <0x1c0000 0>;
};
};
--
2.32.0
next reply other threads:[~2022-07-08 6:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 6:46 Alexander Shiyan [this message]
2022-07-11 10:35 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220708064646.10843-1-eagle.alexander923@gmail.com \
--to=eagle.alexander923@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox