summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-25 08:05:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-27 15:39:28 +0200
commit3fb70de496b32592a5896ffb7aa77a6cc82202e1 (patch)
treecfae58c2a47169b721d783661412aaba16f176fb /arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts
parent339ea9f586fc3c0aa0c0b07e00064bf7652f77b0 (diff)
downloadbarebox-3fb70de496b32592a5896ffb7aa77a6cc82202e1.tar.gz
barebox-3fb70de496b32592a5896ffb7aa77a6cc82202e1.tar.xz
ARM: i.MX: increase barebox partition sizes
After doing a 'saveenv' command, it is no longer possible to boot. The reason for this behaviour is that the 'barebox' partition has currently a size of 0x80000 (512 kB), which is not sufficient to store the barebox binary. This causes the 'barebox' and 'barebox-environment' partitions to overlap. Fix this problem by increasing the size of the 'barebox' partition and by placing the 'barebox-environment' right after it. This patch increases the barebox partition for all i.MX boards to 0xe0000 Reported-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts')
-rw-r--r--arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts b/arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts
index b77add8a47..3f2f1c7320 100644
--- a/arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts
+++ b/arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts
@@ -53,11 +53,11 @@
partition@0 {
label = "barebox";
- reg = <0x0 0x80000>;
+ reg = <0x0 0xe0000>;
};
- partition@80000 {
+ partition@e0000 {
label = "barebox-environment";
- reg = <0x80000 0x80000>;
+ reg = <0xe0000 0x20000>;
};
};