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

Timur Tabi
2008-07-29T16:41:57Z

On Mon, Jul 28, 2008 at 12:32 PM, Scott Wood <scottwood@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