summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDmitry Lavnikevich <d.lavnikevich@sam-solutions.com>2015-01-27 14:25:22 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-28 10:01:30 +0100
commit51eb7ddd5a1826d32d8b5a21cd6d612e8ef1fc1f (patch)
treeefc9cf68fd0f32ea9c5a73411d331eec878c23f1 /arch
parentcf6626da3e0eaf2afbbdcc5a3f384a7b1f19dff7 (diff)
downloadbarebox-51eb7ddd5a1826d32d8b5a21cd6d612e8ef1fc1f.tar.gz
barebox-51eb7ddd5a1826d32d8b5a21cd6d612e8ef1fc1f.tar.xz
dts:imx6:pfla02: Align nand partitions by 512k
NAND chip used on phyFLEX-i.MX6 with 4GB NAND (MT29F32G08AFACAWP) has 512k eraseblock size. Align NAND partitions by 512k to fix erase fails. Also increase barebox-environment and oftree partitions to be two eraseblocks. This will ensure safety in case of bad block. Signed-off-by: Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx6qdl-phytec-pfla02.dtsi8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
index 85cfec3976..3214014cd3 100644
--- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
@@ -113,22 +113,22 @@
partition@1 {
label = "barebox-environment";
- reg = <0x400000 0x20000>;
+ reg = <0x400000 0x100000>;
};
partition@2 {
label = "oftree";
- reg = <0x420000 0x20000>;
+ reg = <0x500000 0x100000>;
};
partition@3 {
label = "kernel";
- reg = <0x440000 0x800000>;
+ reg = <0x600000 0x800000>;
};
partition@4 {
label = "root";
- reg = <0xC40000 0x0>;
+ reg = <0xe00000 0x0>;
};
};