From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.gmx.net ([212.227.15.19]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dfUE4-0001C7-Vp for barebox@lists.infradead.org; Wed, 09 Aug 2017 16:52:59 +0000 From: Oleksij Rempel Date: Wed, 9 Aug 2017 18:52:17 +0200 Message-Id: <20170809165217.11865-4-linux@rempel-privat.de> In-Reply-To: <20170809165217.11865-1-linux@rempel-privat.de> References: <20170809165217.11865-1-linux@rempel-privat.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 v1 4/4] MIPS: tplink-mr3020.dts: add partition table To: barebox@lists.infradead.org Cc: Oleksij Rempel We need partition table for barebox update handler and for barebox environment Signed-off-by: Oleksij Rempel --- arch/mips/dts/tplink-mr3020.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts index 1e843ee00..eaae11edd 100644 --- a/arch/mips/dts/tplink-mr3020.dts +++ b/arch/mips/dts/tplink-mr3020.dts @@ -4,4 +4,23 @@ aliases { spiflash = &spiflash; }; + + chosen { + environment@0 { + compatible = "barebox,environment"; + device-path = &spiflash, "partname:barebox-environment"; + }; + }; +}; + +&spiflash { + partition@0 { + label = "barebox"; + reg = <0 0x80000>; + }; + + partition@80000 { + label = "barebox-environment"; + reg = <0x80000 0x10000>; + }; }; -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox