From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hY1s7-0002ad-P2 for barebox@lists.infradead.org; Tue, 04 Jun 2019 05:20:35 +0000 Received: by mail-pg1-x541.google.com with SMTP id h2so6389892pgg.1 for ; Mon, 03 Jun 2019 22:20:31 -0700 (PDT) From: Andrey Smirnov Date: Mon, 3 Jun 2019 22:20:03 -0700 Message-Id: <20190604052003.3189-8-andrew.smirnov@gmail.com> In-Reply-To: <20190604052003.3189-1-andrew.smirnov@gmail.com> References: <20190604052003.3189-1-andrew.smirnov@gmail.com> 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 v2 7/7] ARM: rdu1: Add U-Boot environment partition To: barebox@lists.infradead.org Cc: Cory Tusar From: Cory Tusar Signed-off-by: Cory Tusar --- arch/arm/dts/imx51-zii-rdu1.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/imx51-zii-rdu1.dts b/arch/arm/dts/imx51-zii-rdu1.dts index 01e46baf2..66d1e0144 100644 --- a/arch/arm/dts/imx51-zii-rdu1.dts +++ b/arch/arm/dts/imx51-zii-rdu1.dts @@ -23,6 +23,11 @@ compatible = "barebox,environment"; device-path = &spinor, "partname:barebox-environment"; }; + + ubootenv { + compatible = "barebox,uboot-environment"; + device-path = &uboot_env; + }; }; aliases { @@ -61,6 +66,22 @@ }; }; +&esdhc1 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* + * Layout info is taken from /etc/fw_env.config + */ + uboot_env: partition@c0000 { + label = "uboot-environment"; + reg = <0xc0000 0x20000>; + }; + }; +}; + &mdio_gpio { switch: switch@0 {}; }; -- 2.21.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox