[PATCH] Remove bogus errors from check_chosen.

Jon Loeliger jdl at freescale.com
Sat Mar 24 03:03:13 EST 2007


On Fri, 2007-03-23 at 10:05, Scott Wood wrote:
> On Fri, Mar 23, 2007 at 02:31:58PM +1100, David Gibson wrote:
> > I'm not 100% comfortable with this patch; I'd like for dtc to have the
> > facility to do more-or-less complete tree validation.
> 
> That'd be nice as long as it's optional; it should be possible to do a
> low level dts->dtb transformation without the tool assuming that the
> output is intended to be a final, valid tree with the specific bindings
> that dtc knowns about (or even an OF-ish tree at all).
> 
> -Scott

So, how about adding a "--complete" or "--final"
sort of flag an having it:

    - Enforce presence of /chosen
    - Disallowing the proposed [ ? ? ? ? ] indicators
    - Uh, other stricter checking...

jdl





More information about the Linuxppc-dev mailing list