summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2018-07-31 12:44:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-08 09:22:48 +0200
commit2b8466c26a911bed1ac5aa25c463f67b3bdbf1eb (patch)
treee06d06838b5025a595b00ab0364fc8f7e9a9c9be
parent4ff0c3fa31b662e79994b55b33e0cc6ab6f7291f (diff)
downloadbarebox-2b8466c26a911bed1ac5aa25c463f67b3bdbf1eb.tar.gz
ARM: socfpga: achilles: move environment to raw partition
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/socfpga_arria10_achilles.dts8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/dts/socfpga_arria10_achilles.dts b/arch/arm/dts/socfpga_arria10_achilles.dts
index 36be662..c03982e 100644
--- a/arch/arm/dts/socfpga_arria10_achilles.dts
+++ b/arch/arm/dts/socfpga_arria10_achilles.dts
@@ -30,8 +30,7 @@
environment {
compatible = "barebox,environment";
- device-path = &mmc, "partname:1";
- file-path = "barebox.env";
+ device-path = &environment_mmc;
};
};
@@ -116,6 +115,11 @@
broken-cd;
bus-width = <1>;
status = "okay";
+
+ environment_mmc: partition@178000 {
+ label = "environment";
+ reg = <0x178000 0x8000>;
+ };
};
&uart0 {