From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 7.mo4.mail-out.ovh.net ([178.33.253.54] helo=mo4.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwvT9-0006ON-P0 for barebox@lists.infradead.org; Wed, 10 Jul 2013 14:34:14 +0000 Received: from mail433.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 80D6D104FB2A for ; Wed, 10 Jul 2013 16:33:46 +0200 (CEST) Date: Wed, 10 Jul 2013 16:33:49 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20130710143349.GB19197@ns203013.ovh.net> References: <1373453528-3723-1-git-send-email-s.hauer@pengutronix.de> <1373453528-3723-9-git-send-email-s.hauer@pengutronix.de> <14050E29-1044-43D1-B240-2AE619C18CA6@jcrosoft.com> <20130710133424.GG516@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130710133424.GG516@pengutronix.de> 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: Re: [PATCH 8/9] Add configurability via devicetree To: Sascha Hauer Cc: barebox@lists.infradead.org On 15:34 Wed 10 Jul , Sascha Hauer wrote: > On Wed, Jul 10, 2013 at 09:17:03PM +0800, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > +Required properties: > > > + > > > +- compatible: should be "barebox,partition" > > > +- device-path: should contain a nodepath to the physical device for which > > > + this device provides a partitioning > > > +- #address-cells, #size-cells: number of cells for size/addresses in the > > > + partitions > > > + > > > +Partition properties: > > > + > > > +- reg: The partition's offset and size > > > +- label: The label/name for this partition > > > +- read-only: if present, the partition is read-only > > > + > > > +Example: > > > + > > > +nor-partitions { > > > + compatible = "barebox,partition"; > > > + device-path = &flash; > > > + #address-cells = <1>; > > > + #size-cells = <1>; > > > + > > > + partition@0 { > > > + label = "barebox"; > > > + reg = <0x0 0x80000>; > > > + }; > > > + > > > + partition@1 { > > > + label = "barebox-environment"; > > > + reg = <0x80000 0x80000>; > > > + }; > > > +}; > > > > This is duplicate with the mtd partition, isn't? > > It's the same binding, yes. I do not like to duplicate the information can de avoid this Best Regards, J. > > Sascha > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox