summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Jorns <ejo@pengutronix.de>2018-09-28 12:42:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-02 09:23:01 +0200
commit39f63b9aea416794d5e61c670c93a202a9f01c8f (patch)
tree4632d0f4075bc6f87b38340de9869c1411bf410a
parentb6241b0c7eeb4744d77dfcb44d8abcd643212c6b (diff)
downloadbarebox-39f63b9aea416794d5e61c670c93a202a9f01c8f.tar.gz
barebox-39f63b9aea416794d5e61c670c93a202a9f01c8f.tar.xz
barebox: move mmc partitions to partitions subnode
Linux kernel implicitly adds this, thus we have to add them explicitly to stay compatible Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/socfpga_arria10_achilles.dts19
1 files changed, 12 insertions, 7 deletions
diff --git a/arch/arm/dts/socfpga_arria10_achilles.dts b/arch/arm/dts/socfpga_arria10_achilles.dts
index fc75afc795..5c08be82d6 100644
--- a/arch/arm/dts/socfpga_arria10_achilles.dts
+++ b/arch/arm/dts/socfpga_arria10_achilles.dts
@@ -201,14 +201,19 @@
bus-width = <1>;
status = "okay";
- environment_mmc: partition@178000 {
- label = "environment";
- reg = <0x178000 0x8000>;
- };
+ partitions {
+ compatible = "fixed-partitions";
+ #size-cells = <1>;
+ #address-cells = <1>;
+ environment_mmc: partition@178000 {
+ label = "environment";
+ reg = <0x178000 0x8000>;
+ };
- state_mmc: partition@180000 {
- label = "state";
- reg = <0x180000 0xC00>;
+ state_mmc: partition@180000 {
+ label = "state";
+ reg = <0x180000 0xC00>;
+ };
};
};