[U-Boot-Users] using a flat device tree to drive u-boot config

Timur Tabi timur at freescale.com
Tue Jul 29 18:41:57 CEST 2008


On Mon, Jul 28, 2008 at 12:32 PM, Scott Wood <scottwood at freescale.com> wrote:


> I find a device tree much easier to figure out than a tangled mess of
> header files, #defines, and #ifdefs...

Especially since the various config files

1) often define the CONFIG_ and CFG_ options is different order
2) are usually not designed to be flexible.  That is, if you undefine
a certain option, instead of handling it gracefully, U-Boot will just
break.

The device trees are heirarchal, organized, and well defined.  I would
not apply those attributes to the config files.

Just the fact that we have CONFIG_ and CFG_ makes it too confusing.

-- 
Timur Tabi
Linux kernel developer at Freescale




More information about the U-Boot mailing list