[PATCH] ARM: dts: i.MX8MP: fix Debix environment partition unit address mismatch

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Jan 19 13:54:38 PST 2024


The environment partitions start at address 0x100000, but the unit
address indicated otherwise. As the reg is what matters, align the unit
address to follow suit.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/arm/dts/imx8mp-debix-model-a.dts      | 4 ++--
 arch/arm/dts/imx8mp-debix-som-a-bmb-08.dts | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/dts/imx8mp-debix-model-a.dts b/arch/arm/dts/imx8mp-debix-model-a.dts
index f0f917461149..a58b40ec8652 100644
--- a/arch/arm/dts/imx8mp-debix-model-a.dts
+++ b/arch/arm/dts/imx8mp-debix-model-a.dts
@@ -42,7 +42,7 @@ partition at 0 {
 			reg = <0x0 0x0 0x0 0x100000>;
 		};
 
-		env_sd: partition at e0000 {
+		env_sd: partition at 100000 {
 			label = "barebox-environment";
 			reg = <0x0 0x100000 0x0 0x100000>;
 		};
@@ -60,7 +60,7 @@ partition at 0 {
 			reg = <0x0 0x0 0x0 0x100000>;
 		};
 
-		env_emmc: partition at e0000 {
+		env_emmc: partition at 100000 {
 			label = "barebox-environment";
 			reg = <0x0 0x100000 0x0 0x100000>;
 		};
diff --git a/arch/arm/dts/imx8mp-debix-som-a-bmb-08.dts b/arch/arm/dts/imx8mp-debix-som-a-bmb-08.dts
index 850af301615b..88ad897f3429 100644
--- a/arch/arm/dts/imx8mp-debix-som-a-bmb-08.dts
+++ b/arch/arm/dts/imx8mp-debix-som-a-bmb-08.dts
@@ -37,7 +37,7 @@ partition at 0 {
 			reg = <0x0 0x0 0x0 0x100000>;
 		};
 
-		env_sd: partition at e0000 {
+		env_sd: partition at 100000 {
 			label = "barebox-environment";
 			reg = <0x0 0x100000 0x0 0x100000>;
 		};
@@ -55,7 +55,7 @@ partition at 0 {
 			reg = <0x0 0x0 0x0 0x100000>;
 		};
 
-		env_emmc: partition at e0000 {
+		env_emmc: partition at 100000 {
 			label = "barebox-environment";
 			reg = <0x0 0x100000 0x0 0x100000>;
 		};
-- 
2.39.2




More information about the barebox mailing list