[PATCH 16/18] arm/expu1/seli8: adapt dts NOR partition table to the latest used
Aleksandar Gerasimovski
aleksandar.gerasimovski at hitachienergy.com
Tue Nov 16 14:11:17 CET 2021
Even not used by u-boot, this has to be inline with the hw and kernel dts.
U-boot partition table is defined by MTDPARTS_DEFAULT Kconfig.
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski at hitachienergy.com>
---
arch/arm/dts/ls1021a-pg-wcom-expu1.dts | 15 +++++++++++++--
arch/arm/dts/ls1021a-pg-wcom-seli8.dts | 14 +++++++++++++-
2 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/ls1021a-pg-wcom-expu1.dts b/arch/arm/dts/ls1021a-pg-wcom-expu1.dts
index 33456b7..ec8e7de 100644
--- a/arch/arm/dts/ls1021a-pg-wcom-expu1.dts
+++ b/arch/arm/dts/ls1021a-pg-wcom-expu1.dts
@@ -87,7 +87,6 @@
label = "qe";
reg = <0x20000 0x20000>;
};
- /* ZL30343 init data to be added here */
partition at 40000 {
label = "envred";
reg = <0x40000 0x20000>;
@@ -101,8 +100,20 @@
reg = <0x100000 0x100000>;
};
partition at 200000 {
+ label = "redenvred";
+ reg = <0x200000 0x20000>;
+ };
+ partition at 220000 {
+ label = "redenv";
+ reg = <0x220000 0x20000>;
+ };
+ partition at 240000 {
+ label = "redu-boot";
+ reg = <0x240000 0x100000>;
+ };
+ partition at 340000 {
label = "ubi0";
- reg = <0x200000 0x3E00000>;
+ reg = <0x340000 0x03C00000>;
};
};
};
diff --git a/arch/arm/dts/ls1021a-pg-wcom-seli8.dts b/arch/arm/dts/ls1021a-pg-wcom-seli8.dts
index f2cadd7..03ce3ab 100644
--- a/arch/arm/dts/ls1021a-pg-wcom-seli8.dts
+++ b/arch/arm/dts/ls1021a-pg-wcom-seli8.dts
@@ -83,8 +83,20 @@
reg = <0x100000 0x100000>;
};
partition at 200000 {
+ label = "redenvred";
+ reg = <0x200000 0x20000>;
+ };
+ partition at 220000 {
+ label = "redenv";
+ reg = <0x220000 0x20000>;
+ };
+ partition at 240000 {
+ label = "redu-boot";
+ reg = <0x240000 0x100000>;
+ };
+ partition at 340000 {
label = "ubi0";
- reg = <0x200000 0x3E00000>;
+ reg = <0x340000 0x03C00000>;
};
};
};
--
1.8.3.1
More information about the U-Boot
mailing list