[coreboot] Kconfig defaults per chipset, or mainboard?

Patrick Georgi patrick at georgi-clan.de
Thu Sep 17 19:33:18 CEST 2009


Am Donnerstag, den 17.09.2009, 19:19 +0200 schrieb Peter Stuge:
> Patrick Georgi wrote:
> > > In src/Kconfig there is this:
> > > 
> > > config FALLBACK_VGA_BIOS_ID
> > >         string "VGA BIOS ID"
> > >         depends on VGA_BIOS
> > >         default "1106,3230"
> > > 
> > > How does a component (nb, sb, sio) or mainboard provide an override
> > > for this default?
> > 
> > config FALLBACK_VGA_BIOS_ID
> > 	string
> > 	default "1234,5678"
> > 	depends on NB_OR_SB_OR_SIO_OR_BOARD_ID
> > 
> > should work
> 
> Cool. How does the precedence work?
No idea. Either it's "last one wins" in reading order, or - that's what
I hope, it's "most specific wins".

And for that, there should always be only the global default and one
that applies for each configuration (eg. by making sure that these
values are defined by the same class of devices, ie. SBs, NBs, SIOs or
boards)


Patrick





More information about the coreboot mailing list