2016-01-12 23:55:28 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the coreboot project.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
2015-09-03 07:41:29 +02:00
|
|
|
#include <build.h>
|
|
|
|
|
2004-10-14 22:54:17 +02:00
|
|
|
.section ".id", "a", @progbits
|
2003-04-22 21:02:15 +02:00
|
|
|
|
|
|
|
.globl __id_start
|
|
|
|
__id_start:
|
2012-01-17 13:13:59 +01:00
|
|
|
ver:
|
|
|
|
.asciz COREBOOT_VERSION
|
2010-04-27 08:56:47 +02:00
|
|
|
vendor:
|
2009-06-30 17:17:49 +02:00
|
|
|
.asciz CONFIG_MAINBOARD_VENDOR
|
2010-04-27 08:56:47 +02:00
|
|
|
part:
|
2009-06-30 17:17:49 +02:00
|
|
|
.asciz CONFIG_MAINBOARD_PART_NUMBER
|
2012-01-17 13:13:59 +01:00
|
|
|
.long __id_end + CONFIG_ID_SECTION_OFFSET - ver /* Reverse offset to the vendor id */
|
2009-11-27 17:55:13 +01:00
|
|
|
.long __id_end + CONFIG_ID_SECTION_OFFSET - vendor /* Reverse offset to the vendor id */
|
|
|
|
.long __id_end + CONFIG_ID_SECTION_OFFSET - part /* Reverse offset to the part number */
|
|
|
|
.long CONFIG_ROM_SIZE /* Size of this romimage */
|
2003-04-22 21:02:15 +02:00
|
|
|
.globl __id_end
|
|
|
|
|
|
|
|
__id_end:
|
|
|
|
.previous
|