From 39f63b9aea416794d5e61c670c93a202a9f01c8f Mon Sep 17 00:00:00 2001 From: Enrico Jorns Date: Fri, 28 Sep 2018 12:42:02 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- arch/arm/dts/socfpga_arria10_achilles.dts | 19 ++++++++++++------- 1 file 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>; + }; }; }; -- cgit v1.2.3