Furquan Shaikh | 2af76f4 | 2014-04-28 16:39:40 -0700 | [diff] [blame^] | 1 | #include <build.h> |
| 2 | |
| 3 | .section ".id", "a", %progbits |
| 4 | |
| 5 | .globl __id_start |
| 6 | __id_start: |
| 7 | ver: |
| 8 | .asciz COREBOOT_VERSION |
| 9 | vendor: |
| 10 | .asciz CONFIG_MAINBOARD_VENDOR |
| 11 | part: |
| 12 | .asciz CONFIG_MAINBOARD_PART_NUMBER |
| 13 | .long __id_end - ver /* Reverse offset to the vendor id */ |
| 14 | .long __id_end - vendor /* Reverse offset to the vendor id */ |
| 15 | .long __id_end - part /* Reverse offset to the part number */ |
| 16 | .long CONFIG_ROM_SIZE /* Size of this romimage */ |
| 17 | .globl __id_end |
| 18 | |
| 19 | __id_end: |
| 20 | .previous |