From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uz6EC-0006Ii-RY for barebox@lists.infradead.org; Tue, 16 Jul 2013 14:27:46 +0000 Date: Tue, 16 Jul 2013 16:27:22 +0200 From: Sascha Hauer Message-ID: <20130716142722.GA10380@pengutronix.de> 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> <20130710143349.GB19197@ns203013.ovh.net> <20130710144240.GH516@pengutronix.de> <20130710155028.GC19197@ns203013.ovh.net> <20130710201713.GJ516@pengutronix.de> <20130715101119.GH19197@ns203013.ovh.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130715101119.GH19197@ns203013.ovh.net> 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: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org On Mon, Jul 15, 2013 at 12:11:19PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 22:17 Wed 10 Jul , Sascha Hauer wrote: > > On Wed, Jul 10, 2013 at 05:50:28PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > > It's the same binding, yes. > > > > > > > > > > I do not like to duplicate the information can de avoid this > > > > > > > > Which information? The Documentation? > > > > > > no the fact we need to describe the nor-partitions twice, for barebox and for > > > linux in the DTB > > > > No, barebox should copy (or move) the partition nodes to where Linux > > finds them before starting the kernel. This is not yet implemented > > though. > > > > Another option of course is to do the obvious and put the partitions > > under the mtd device in the first place. I decided against this since > > I have the strong feeling that the hardware description should be > > separated from clearly board (or project or usecase) specific partition > > descriptions. > > here we need to be more generic as it's booloader specific not really barebox As mentioned I moved from /chosen/barebox to /chosen. I'd like to keep the "barebox," prefixes in the compatible strings as long as barebox is the only bootloader doing such stuff. It's more convenient to drop the prefix later than it is to realize that we introduced a too generic binding. 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