[coreboot] some thoughts on dts vs. Kconfig vs. makefiles vs. C code

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Mar 5 14:52:47 CET 2008

On 05.03.2008 06:08, ron minnich wrote:
> On Fri, Feb 29, 2008 at 7:35 AM, Jordan Crouse <jordan.crouse at amd.com> wrote:
>>  Excellent.  I feel compelled to chime in on behalf of buildrom.  The
>>  fewer files that we need to copy and/or modify from buildrom to
>>  coreboot-v3 to get what we need, the happier we will be.   If we find
>>  ourselves constantly changing values in the dts or in Makefiles, then
>>  that should be a really good clue that perhaps the value belongs in
>>  Kconfig instead.  I don't think anybody likes how we're doing configuration
>>  now - I look forward to being able to copy a single .config file in
>>  place, or, at the worst, being able to construct a single .config file
>>  with the changes we need.
> What would you change? Do you mean that the settings in the mainboard
> dts should be in a .config file?
> If we do that, we're going to need to make parsing the dts part of the
> make menuconfig process. Or did I miss the point?

I think the dts already has override capabilities, so buildrom should be 
able to just supply another mainboard-level dts which only contains the 
settings you want to override in the mainboard dts.



More information about the coreboot mailing list