[PATCH 2/2] dts:imx6:pfla02: Align nand partitions by 512k

Dmitry Lavnikevich d.lavnikevich at sam-solutions.com
Fri Jan 23 03:48:55 PST 2015


NAND chip used on phyFLEX-i.MX6 with 4GB NAND (MT29F32G08AFACAWP) has
512k eraseblock size.

Align NAND partitions by 512k to fix erase fails.

Signed-off-by: Dmitry Lavnikevich <d.lavnikevich at sam-solutions.com>
---
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
index 32ce088fee48..52b279057a33 100644
--- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
@@ -95,22 +95,22 @@
 
 	partition at 1 {
 		label = "barebox-environment";
-		reg = <0x400000 0x20000>;
+		reg = <0x400000 0x80000>;
 	};
 
 	partition at 2 {
 		label = "oftree";
-		reg = <0x420000 0x20000>;
+		reg = <0x480000 0x80000>;
 	};
 
 	partition at 3 {
 		label = "kernel";
-		reg = <0x440000 0x800000>;
+		reg = <0x500000 0x800000>;
 	};
 
 	partition at 4 {
 		label = "root";
-		reg = <0xC40000 0x0>;
+		reg = <0xD00000 0x0>;
 	};
 };
 
-- 
2.2.1




More information about the barebox mailing list