blob: 798b25d1f1ed26844c8172aab2ae7d9b9262eeac [file] [log] [blame]
Patrick Georgi11f00792020-03-04 15:10:45 +01001/* SPDX-License-Identifier: GPL-2.0-only */
Martin Roth9df9e9392016-01-12 15:55:28 -07002
Aaron Durbin3953e392015-09-03 00:41:29 -05003#include <build.h>
4
Eric Biedermanb78c1972004-10-14 20:54:17 +00005 .section ".id", "a", @progbits
Eric Biederman8ca8d762003-04-22 19:02:15 +00006
7 .globl __id_start
8__id_start:
Patrick Georgi950f20a2012-01-17 13:13:59 +01009ver:
10 .asciz COREBOOT_VERSION
Stefan Reinauer14e22772010-04-27 06:56:47 +000011vendor:
Stefan Reinauer08670622009-06-30 15:17:49 +000012 .asciz CONFIG_MAINBOARD_VENDOR
Stefan Reinauer14e22772010-04-27 06:56:47 +000013part:
Stefan Reinauer08670622009-06-30 15:17:49 +000014 .asciz CONFIG_MAINBOARD_PART_NUMBER
Lee Leahy6f80ccc2017-03-16 15:18:22 -070015.long __id_end + CONFIG_ID_SECTION_OFFSET - ver /* Reverse offset to the
16 *vendor id
17 */
18.long __id_end + CONFIG_ID_SECTION_OFFSET - vendor /* Reverse offset to the
19 * vendor id
20 */
21.long __id_end + CONFIG_ID_SECTION_OFFSET - part /* Reverse offset to the
22 * part number
23 */
Patrick Georgi436f99b2009-11-27 16:55:13 +000024.long CONFIG_ROM_SIZE /* Size of this romimage */
Eric Biederman8ca8d762003-04-22 19:02:15 +000025 .globl __id_end
26
Eric Biederman8ca8d762003-04-22 19:02:15 +000027__id_end:
28.previous