Martin Roth | 239b5df | 2022-07-26 22:18:26 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 3 | #ifndef VERSION_H |
| 4 | #define VERSION_H |
| 5 | |
| 6 | /* Motherboard Information */ |
| 7 | extern const char mainboard_vendor[]; |
| 8 | extern const char mainboard_part_number[]; |
| 9 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 10 | /* coreboot Version */ |
| 11 | extern const char coreboot_version[]; |
| 12 | extern const char coreboot_extra_version[]; |
| 13 | extern const char coreboot_build[]; |
Vladimir Serbinenko | 6ead253 | 2014-08-23 01:08:09 +0200 | [diff] [blame] | 14 | extern const unsigned int coreboot_version_timestamp; |
Elyes HAOUAS | 94ad376 | 2019-02-15 17:39:56 +0100 | [diff] [blame] | 15 | extern const unsigned int coreboot_major_revision; |
| 16 | extern const unsigned int coreboot_minor_revision; |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 17 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 18 | /* When coreboot was compiled */ |
| 19 | extern const char coreboot_compile_time[]; |
Kyösti Mälkki | c36af7b | 2014-11-18 12:41:16 +0200 | [diff] [blame] | 20 | extern const char coreboot_dmi_date[]; |
| 21 | |
| 22 | struct bcd_date { |
| 23 | unsigned char century; |
| 24 | unsigned char year; |
| 25 | unsigned char month; |
| 26 | unsigned char day; |
| 27 | unsigned char weekday; |
| 28 | }; |
| 29 | |
| 30 | extern const struct bcd_date coreboot_build_date; |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 31 | |
Elyes HAOUAS | 26071aa | 2019-02-15 08:21:33 +0100 | [diff] [blame] | 32 | /* IASL version */ |
| 33 | extern const unsigned int asl_revision; |
| 34 | |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 35 | #endif /* VERSION_H */ |