blob: 926756a534572be04890b40a5b57a616731e738e [file] [log] [blame]
Martin Roth239b5df2022-07-26 22:18:26 -06001/* SPDX-License-Identifier: GPL-2.0-only */
2
Eric Biederman8ca8d762003-04-22 19:02:15 +00003#ifndef VERSION_H
4#define VERSION_H
5
Stefan Reinauerf8ee1802008-01-18 15:08:58 +00006/* coreboot Version */
7extern const char coreboot_version[];
8extern const char coreboot_extra_version[];
9extern const char coreboot_build[];
Vladimir Serbinenko6ead2532014-08-23 01:08:09 +020010extern const unsigned int coreboot_version_timestamp;
Elyes HAOUAS94ad3762019-02-15 17:39:56 +010011extern const unsigned int coreboot_major_revision;
12extern const unsigned int coreboot_minor_revision;
Eric Biederman8ca8d762003-04-22 19:02:15 +000013
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000014/* When coreboot was compiled */
15extern const char coreboot_compile_time[];
Kyösti Mälkkic36af7b2014-11-18 12:41:16 +020016extern const char coreboot_dmi_date[];
17
18struct bcd_date {
19 unsigned char century;
20 unsigned char year;
21 unsigned char month;
22 unsigned char day;
23 unsigned char weekday;
24};
25
26extern const struct bcd_date coreboot_build_date;
Eric Biederman8ca8d762003-04-22 19:02:15 +000027
Elyes HAOUAS26071aa2019-02-15 08:21:33 +010028/* IASL version */
29extern const unsigned int asl_revision;
30
Eric Biederman8ca8d762003-04-22 19:02:15 +000031#endif /* VERSION_H */