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 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 6 | /* coreboot Version */ |
| 7 | extern const char coreboot_version[]; |
| 8 | extern const char coreboot_extra_version[]; |
| 9 | extern const char coreboot_build[]; |
Vladimir Serbinenko | 6ead253 | 2014-08-23 01:08:09 +0200 | [diff] [blame] | 10 | extern const unsigned int coreboot_version_timestamp; |
Elyes HAOUAS | 94ad376 | 2019-02-15 17:39:56 +0100 | [diff] [blame] | 11 | extern const unsigned int coreboot_major_revision; |
| 12 | extern const unsigned int coreboot_minor_revision; |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 13 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 14 | /* When coreboot was compiled */ |
| 15 | extern const char coreboot_compile_time[]; |
Kyösti Mälkki | c36af7b | 2014-11-18 12:41:16 +0200 | [diff] [blame] | 16 | extern const char coreboot_dmi_date[]; |
| 17 | |
| 18 | struct bcd_date { |
| 19 | unsigned char century; |
| 20 | unsigned char year; |
| 21 | unsigned char month; |
| 22 | unsigned char day; |
| 23 | unsigned char weekday; |
| 24 | }; |
| 25 | |
| 26 | extern const struct bcd_date coreboot_build_date; |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 27 | |
Elyes HAOUAS | 26071aa | 2019-02-15 08:21:33 +0100 | [diff] [blame] | 28 | /* IASL version */ |
| 29 | extern const unsigned int asl_revision; |
| 30 | |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 31 | #endif /* VERSION_H */ |