summaryrefslogtreecommitdiffstats
path: root/src/include/version.h
blob: 84bb34a7b514c4dee1b113458dc6b076bc0754a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef VERSION_H
#define VERSION_H

/* Motherboard Information */
extern const char mainboard_vendor[];
extern const char mainboard_part_number[];

/* coreboot Version */
extern const char coreboot_version[];
extern const char coreboot_extra_version[];
extern const char coreboot_build[];
extern const unsigned int coreboot_version_timestamp;
extern const unsigned int coreboot_major_revision;
extern const unsigned int coreboot_minor_revision;

/* When coreboot was compiled */
extern const char coreboot_compile_time[];
extern const char coreboot_dmi_date[];

struct bcd_date {
	unsigned char century;
	unsigned char year;
	unsigned char month;
	unsigned char day;
	unsigned char weekday;
};

extern const struct bcd_date coreboot_build_date;

/* IASL version */
extern const unsigned int asl_revision;

#endif /* VERSION_H */