[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210308171049.3962577-1-gmouse@google.com>
Date: Mon, 8 Mar 2021 18:10:50 +0100
From: gmouse@...gle.com
To: Avi Fishman <avifishman70@...il.com>,
Tomer Maimon <tmaimon77@...il.com>,
Tali Perry <tali.perry1@...il.com>,
Patrick Venture <venture@...gle.com>,
Nancy Yuen <yuenn@...gle.com>,
Benjamin Fair <benjaminfair@...gle.com>,
Rob Herring <robh+dt@...nel.org>
Cc: "Anton D. Kachalov" <gmouse@...gle.com>, openbmc@...ts.ozlabs.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2] ARM: dts: nuvoton: Fix flash layout
From: "Anton D. Kachalov" <gmouse@...gle.com>
This change follows OpenBMC partitions' naming layout.
Signed-off-by: Anton D. Kachalov <gmouse@...gle.com>
---
arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 38 +++++++----------------
1 file changed, 11 insertions(+), 27 deletions(-)
diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
index 9f13d08f5804..55c5a89592d7 100644
--- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
+++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
@@ -78,8 +78,8 @@ partitions@...00000 {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
- bbuboot1@0 {
- label = "bb-uboot-1";
+ u-boot@0 {
+ label = "u-boot";
reg = <0x0000000 0x80000>;
read-only;
};
@@ -88,38 +88,22 @@ bbuboot2@...00 {
reg = <0x0080000 0x80000>;
read-only;
};
- envparam@...000 {
- label = "env-param";
+ u-boot-env@...000 {
+ label = "u-boot-env";
reg = <0x0100000 0x40000>;
read-only;
};
- spare@...000 {
- label = "spare";
- reg = <0x0140000 0xC0000>;
- };
kernel@...000 {
label = "kernel";
- reg = <0x0200000 0x400000>;
- };
- rootfs@...000 {
- label = "rootfs";
- reg = <0x0600000 0x700000>;
- };
- spare1@...000 {
- label = "spare1";
- reg = <0x0D00000 0x200000>;
- };
- spare2@...0000 {
- label = "spare2";
- reg = <0x0F00000 0x200000>;
+ reg = <0x0200000 0x580000>;
};
- spare3@...0000 {
- label = "spare3";
- reg = <0x1100000 0x200000>;
+ rofs@...000 {
+ label = "rofs";
+ reg = <0x0780000 0x1680000>;
};
- spare4@...0000 {
- label = "spare4";
- reg = <0x1300000 0x0>;
+ rwfs@...0000 {
+ label = "rwfs";
+ reg = <0x1e00000 0x200000>;
};
};
};
--
2.30.1.766.gb4fecdf3b7-goog
Powered by blists - more mailing lists