[coreboot] [PATCH]Unify .id section offsets

Patrick Georgi patrick at georgi-clan.de
Fri Nov 27 10:43:48 CET 2009


as part of an effort to unify the crt0-y and ldscript-y variables in 
Kconfig, this patch eliminates the need for special id.inc and id.lds 
files. These files exist for a number of chipsets because the default 
location of the .id section collides with romstraps.
To fix this, this patch introduces a configuration option 
ID_SECTION_OFFSET, which is normally set to 0x10 (the default offset) 
and set to 0x80 (the alternate offset used by those chipsets) in the 
boards (on newconfig) or southbridges (on kconfig) that require it, 
which mimics the behaviour of those special files.

It's abuild and kbuildall tested.

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20091126-1-unified-id-section-handling
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091127/d0651d24/attachment.ksh>

More information about the coreboot mailing list