Martin Roth | e44adfa | 2016-01-12 10:40:18 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
Gabe Black | 8b68539 | 2013-09-29 03:02:55 -0700 | [diff] [blame] | 14 | #include <build.h> |
| 15 | |
Stefan Reinauer | 52db0b9 | 2012-12-07 17:15:04 -0800 | [diff] [blame] | 16 | .section ".id", "a", %progbits |
| 17 | |
| 18 | .globl __id_start |
| 19 | __id_start: |
| 20 | ver: |
| 21 | .asciz COREBOOT_VERSION |
| 22 | vendor: |
| 23 | .asciz CONFIG_MAINBOARD_VENDOR |
| 24 | part: |
| 25 | .asciz CONFIG_MAINBOARD_PART_NUMBER |
David Hendricks | e50e343 | 2013-02-09 14:58:45 -0800 | [diff] [blame] | 26 | .long __id_end - ver /* Reverse offset to the vendor id */ |
| 27 | .long __id_end - vendor /* Reverse offset to the vendor id */ |
| 28 | .long __id_end - part /* Reverse offset to the part number */ |
Stefan Reinauer | 52db0b9 | 2012-12-07 17:15:04 -0800 | [diff] [blame] | 29 | .long CONFIG_ROM_SIZE /* Size of this romimage */ |
| 30 | .globl __id_end |
| 31 | |
| 32 | __id_end: |
| 33 | .previous |