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

Ben Warren
2008-07-28T17:35:33Z

On Mon, Jul 28, 2008 at 10:32 AM, Scott Wood <scottwood@freescale.com> wrote:
> Ben Warren wrote:
>>
>> On Mon, Jul 28, 2008 at 8:07 AM, Kumar Gala <galak@kernel.crashing.org>
>> wrote:
>>>
>>> One topic that come up during OLS in discussions and u-boot BOF was
>>> the idea of driving u-boot configuration from a device tree instead of
>>> from "config.h". I was wondering if anyone has actually looked at
>>> doing this.
>>>
>> This sounds like an interesting idea, having a central repo for all
>> hardware information. A big problem I see is that while device-tree
>> syntax may make sense to Linux kernel propellerheads, to the average
>> Joe it's mind-numbing. Config files are ugly, but at least IMHO are
>> easy to figure out.
>
> I find a device tree much easier to figure out than a tangled mess of header
> files, #defines, and #ifdefs...
>
> -Scott
>

In many ways, yes. But are you an average Joe or a Linux kernel propellerhead?

B-)