xref: /aosp_15_r20/external/coreboot/src/include/version.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef VERSION_H
4 #define VERSION_H
5 
6 /* coreboot Version */
7 extern const char coreboot_version[];
8 extern const char coreboot_extra_version[];
9 extern const char coreboot_build[];
10 extern const unsigned int coreboot_version_timestamp;
11 extern const unsigned int coreboot_major_revision;
12 extern const unsigned int coreboot_minor_revision;
13 
14 /* When coreboot was compiled */
15 extern const char coreboot_compile_time[];
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;
27 
28 /* IASL version */
29 extern const unsigned int asl_revision;
30 
31 #endif /* VERSION_H */
32