[coreboot] [PATCH] RFC: autocreate Kconfig from DTS
stepan at coresystems.de
Fri Aug 22 08:24:03 CEST 2008
ron minnich wrote:
> On Thu, Aug 21, 2008 at 6:40 PM, Carl-Daniel Hailfinger
> <c-d.hailfinger.devel.2006 at gmx.net> wrote:
>> This is a RFC only to show what we could do. Basically, the DTS is now
>> the only source of hardware description and a converter creates Kconfig
>> variables from each mainboard DTS.
>> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
> This is kind of interesting. Note that you are creating the mainboard
> Kconfig from dts; it's not like Kconfig just disappears, right?
> At first glance I like it but I'd like to see other comments.
I like the idea, but the script should create .tree and tree.h (like
.config and config.h) that can be included by the Makefile and the code.
Actually running the produced stuff through Kconfig is wrong, because it
has nothing to do with user configuration. Instead both Kconfig and the
tree parser should produce similar output for the data each of them
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot