summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/socfpga_cyclone5_socrates.dts
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2018-01-10 09:19:12 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-11 09:35:51 +0100
commitbeb402ada8371ec2f6be6cbe6693c47fe59a05fc (patch)
treea0a6cc677662e315471c5cccdd85523549af6d15 /arch/arm/dts/socfpga_cyclone5_socrates.dts
parentb9bddd84dd9e379ba7f094ffab70528a4402a54b (diff)
downloadbarebox-beb402ada8371ec2f6be6cbe6693c47fe59a05fc.tar.gz
barebox-beb402ada8371ec2f6be6cbe6693c47fe59a05fc.tar.xz
ARM: socfpga: move environment from dtsi to board dts
Currently all upstream boards use the same barebox-environment setup. It is however problematic to add new boards, that have a different setup. Instead of having to /delete-node/ the file-path property in those boards, move the environment to the specific board files. This also has the charme of - maybe one day - getting rid of a barebox-version of socfpga.dtsi :-) Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/socfpga_cyclone5_socrates.dts')
-rw-r--r--arch/arm/dts/socfpga_cyclone5_socrates.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index ea7e6cc102..93253af7ec 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -21,6 +21,12 @@
/ {
chosen {
stdout-path = &uart0;
+
+ environment@0 {
+ compatible = "barebox,environment";
+ device-path = &mmc, "partname:1";
+ file-path = "barebox.env";
+ };
};
aliases {