1 /* SPDX-License-Identifier: GPL-2.0-only */
6 #ifndef COREBOOT_VERSION
7 #error COREBOOT_VERSION not defined
10 #error COREBOOT_BUILD not defined
13 #ifndef COREBOOT_COMPILE_TIME
14 #error COREBOOT_COMPILE_TIME not defined
17 #ifndef COREBOOT_EXTRA_VERSION
18 #define COREBOOT_EXTRA_VERSION ""
21 const char coreboot_version
[] = COREBOOT_VERSION
;
22 const char coreboot_extra_version
[] = COREBOOT_EXTRA_VERSION
;
23 const char coreboot_build
[] = COREBOOT_BUILD
;
24 const unsigned int coreboot_version_timestamp
= COREBOOT_VERSION_TIMESTAMP
;
25 const unsigned int coreboot_major_revision
= COREBOOT_MAJOR_VERSION
;
26 const unsigned int coreboot_minor_revision
= COREBOOT_MINOR_VERSION
;
28 const char coreboot_compile_time
[] = COREBOOT_COMPILE_TIME
;
29 const char coreboot_dmi_date
[] = COREBOOT_DMI_DATE
;
31 const struct bcd_date coreboot_build_date
= {
33 .year
= COREBOOT_BUILD_YEAR_BCD
,
34 .month
= COREBOOT_BUILD_MONTH_BCD
,
35 .day
= COREBOOT_BUILD_DAY_BCD
,
36 .weekday
= COREBOOT_BUILD_WEEKDAY_BCD
,
39 const unsigned int asl_revision
= ASL_VERSION
;