Dear Kim Phillips,

In message <20090611105533.7aeec1ee.kim.phill...@freescale.com> you wrote:
>
> > The separator between options is ';', between sub-options is ','.
> > 
> > So that would be 'dr_usb:mode=host,phy_type=ulpi; esdhc".

...and that's still what I like most of the differnet formats
discussed so far.


> if you don't want to type, things like this are possible but they
> have to depend on the order given:

It's not only about not typing, it's also about being able to read it
easily.

> dr_usb.mode = host; .phy_type = ulpi; esdhc;
> 
> however when automating/scripting concatenation of them, it's useful
> to not have to depend on their order:
> 
> dr_usb.mode = host; esdhc; dr_usb.phy_type = ulpi;

I see no reason that we need to support such a format. In C, you also
cannot mix initializations of fields from different structures :-)

> What do you think?

'dr_usb:mode=host,phy_type=ulpi; esdhc" still looks reasonable to me.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
The only time the world beats a path to your door is when you are  in
the bathroom.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to