blob: 311b989aed74abc6cc8f134e445536c377c67d05 [file] [log] [blame]
Jonathan Neuschäfer8e630172016-07-24 18:12:09 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include <build.h>
15
16 .section ".id", "a", %progbits
17
18 .globl __id_start
19__id_start:
20ver:
Jonathan Neuschäfer5690f0e2016-08-01 19:42:27 +020021 .asciz COREBOOT_VERSION
Jonathan Neuschäfer8e630172016-07-24 18:12:09 +020022vendor:
Jonathan Neuschäfer5690f0e2016-08-01 19:42:27 +020023 .asciz CONFIG_MAINBOARD_VENDOR
Jonathan Neuschäfer8e630172016-07-24 18:12:09 +020024part:
Jonathan Neuschäfer5690f0e2016-08-01 19:42:27 +020025 .asciz CONFIG_MAINBOARD_PART_NUMBER
Jonathan Neuschäfer8e630172016-07-24 18:12:09 +020026.long __id_end + CONFIG_ID_SECTION_OFFSET - ver /* Reverse offset to the vendor id */
27.long __id_end + CONFIG_ID_SECTION_OFFSET - vendor /* Reverse offset to the vendor id */
28.long __id_end + CONFIG_ID_SECTION_OFFSET - part /* Reverse offset to the part number */
29.long CONFIG_ROM_SIZE /* Size of this romimage */
30 .globl __id_end
31
32__id_end:
33.previous