0867062412
It's basically done with the following script and some manual fixup: VARS=`grep ^define src/config/Options.lb | cut -f2 -d\ | grep -v ^CONFIG | grep -v ^COREBOOT |grep -v ^CC` for VAR in $VARS; do find . -name .svn -prune -o -type f -exec perl -pi -e "s/(^|[^0-9a-zA-Z_]+)$VAR($|[^0-9a-zA-Z_]+)/\1CONFIG_$VAR\2/g" {} \; done Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4381 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
15 lines
417 B
C++
15 lines
417 B
C++
.section ".id", "a", @progbits
|
|
|
|
.globl __id_start
|
|
__id_start:
|
|
vendor:
|
|
.asciz CONFIG_MAINBOARD_VENDOR
|
|
part:
|
|
.asciz CONFIG_MAINBOARD_PART_NUMBER
|
|
.long __id_end + 0x80 - vendor /* Reverse offset to the vendor ID */
|
|
.long __id_end + 0x80 - part /* Reverse offset to the part number */
|
|
.long CONFIG_PAYLOAD_SIZE + CONFIG_ROM_IMAGE_SIZE /* Size of this ROM image */
|
|
.globl __id_end
|
|
|
|
__id_end:
|
|
.previous
|