From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 22D63DDF19 for ; Sat, 19 May 2007 03:53:02 +1000 (EST) Message-ID: <464DE7F7.3030302@freescale.com> Date: Fri, 18 May 2007 12:52:55 -0500 From: Scott Wood MIME-Version: 1.0 To: Timur Tabi Subject: Re: [PATCH 5/5] PCI fixes for the MPC8641 Rev 2.0 silicon and Rev 1.02hardware References: <1179245829.8132.100.camel@rhino> <1179247809.8132.138.camel@rhino> <46B96294322F7D458F9648B60E15112C23441B@zch01exm26.fsl.freescale.net> <1179417813.8132.250.camel@rhino> <744CD970-5421-47D6-A30A-C7C79BE21BE8@kernel.crashing.org> <1179421139.8132.256.camel@rhino> <464CA302.9060707@freescale.com> <20070518005641.GA27350@localhost.localdomain> <464DB986.20205@freescale.com> <20070518164628.GA16825@ld0162-tx32.am.freescale.net> <464DE2D3.3090805@smiths-aerospace.com> <464DE4C7.7030906@freescale.com> <464DE5D2.5000301@freescale.com> <464DE6C1.2010108@freescale.com> In-Reply-To: <464DE6C1.2010108@freescale.com> Content-Type: text/plain; charset=us-ascii; format=flowed Cc: linuxppc-dev , Zhang Wei-r63237 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Timur Tabi wrote: > Scott Wood wrote: > >> Timur Tabi wrote: >> >>> Just being able to delete a given node/property would be enough. >> >> >> I'd rather have an additive model than a subtractive one. And it >> would not be enough, as you would not be able to have two different >> versions of a property with the same name. > > > The model would be additive, but the DTB would be subtractive. I meant additive at the DTB level. > After > all, the nodes have to *exist* in the DTB that's given to U-Boot. Yes, they exist under the /hwoptions node. > After > U-Boot scans the device tree and evaluates the conditions, it has to > remove the nodes that fail. That's your model. Mine involves merging a fragment that corresponds to an active hwoption, with no complex conditional evaluation or deletion of anything from the main tree. How would you express the alternate setting of phy_type in a subtractive model? You can't have two nodes with the same name and different phy_types, and you can't have two phy_type properties in one node. -Scott