From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mickerik.phytec.de ([195.145.39.210]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ieICg-0001kh-7d for barebox@lists.infradead.org; Mon, 09 Dec 2019 12:31:55 +0000 From: Stefan Riedmueller Date: Mon, 9 Dec 2019 13:31:40 +0100 Message-Id: <1575894703-316604-5-git-send-email-s.riedmueller@phytec.de> In-Reply-To: <1575894703-316604-1-git-send-email-s.riedmueller@phytec.de> References: <1575894703-316604-1-git-send-email-s.riedmueller@phytec.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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 5/8] ARM: dts: imx6: phycard: Use partname for environment device-path To: barebox@lists.infradead.org Change environment device-path from using a separate label to referencing a device plus partname. Signed-off-by: Stefan Riedmueller --- No changes in v2 --- arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi index f1a5e5962362..51cece26837a 100644 --- a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi +++ b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi @@ -8,13 +8,13 @@ chosen { environment-nand { compatible = "barebox,environment"; - device-path = &environment_nand; + device-path = &gpmi, "partname:barebox-environment"; status = "disabled"; }; environment-sd3 { compatible = "barebox,environment"; - device-path = &environment_usdhc3; + device-path = &usdhc3, "partname:barebox-environment"; status = "disabled"; }; }; @@ -43,7 +43,7 @@ reg = <0x0 0x400000>; }; - environment_nand: partition@400000 { + partition@400000 { label = "barebox-environment"; reg = <0x400000 0x20000>; }; @@ -165,7 +165,8 @@ label = "barebox"; reg = <0x0 0xe0000>; }; - environment_usdhc3: partition@e0000 { + + partition@e0000 { label = "barebox-environment"; reg = <0xe0000 0x20000>; }; -- 2.7.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox