From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qEH-0004zj-WB for barebox@lists.infradead.org; Fri, 28 Sep 2018 10:42:39 +0000 From: Steffen Trumtrar Date: Fri, 28 Sep 2018 12:42:02 +0200 Message-Id: <20180928104206.17764-2-s.trumtrar@pengutronix.de> In-Reply-To: <20180928104206.17764-1-s.trumtrar@pengutronix.de> References: <20180928104206.17764-1-s.trumtrar@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/6] barebox: move mmc partitions to partitions subnode To: Barebox List Cc: Enrico Jorns From: Enrico Jorns Linux kernel implicitly adds this, thus we have to add them explicitly to stay compatible Signed-off-by: Enrico Jorns --- 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 fc75afc79516..5c08be82d67f 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>; + }; }; }; -- 2.19.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox