[PATCH] ARM: dts: nuvoton: Fix flash layout

From: gmouse
Date: Thu Feb 18 2021 - 09:56:07 EST


From: "Anton D. Kachalov" <gmouse@xxxxxxxxxx>

This change satisfy OpenBMC requirements for flash layout.

Signed-off-by: Anton D. Kachalov <gmouse@xxxxxxxxxx>
---
arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 +++++++----------------
1 file changed, 8 insertions(+), 20 deletions(-)

diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
index bd1eb6ee380f..741c1fee8552 100644
--- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
+++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
@@ -182,8 +182,8 @@ bbuboot2@80000 {
reg = <0x0080000 0x80000>;
read-only;
};
- envparam@100000 {
- label = "env-param";
+ ubootenv@100000 {
+ label = "u-boot-env";
reg = <0x0100000 0x40000>;
read-only;
};
@@ -195,25 +195,13 @@ kernel@200000 {
label = "kernel";
reg = <0x0200000 0x400000>;
};
- rootfs@600000 {
- label = "rootfs";
- reg = <0x0600000 0x700000>;
+ rofs@780000 {
+ label = "rofs";
+ reg = <0x0780000 0x1680000>;
};
- spare1@D00000 {
- label = "spare1";
- reg = <0x0D00000 0x200000>;
- };
- spare2@0F00000 {
- label = "spare2";
- reg = <0x0F00000 0x200000>;
- };
- spare3@1100000 {
- label = "spare3";
- reg = <0x1100000 0x200000>;
- };
- spare4@1300000 {
- label = "spare4";
- reg = <0x1300000 0x0>;
+ rwfs@1e00000 {
+ label = "rwfs";
+ reg = <0x1e00000 0x200000>;
};
};
};
--
2.30.0.478.g8a0d178c01-goog