4 #ifndef CONFIG_MAINBOARD_VENDOR
5 #error CONFIG_MAINBOARD_VENDOR not defined
7 #ifndef CONFIG_MAINBOARD_PART_NUMBER
8 #error CONFIG_MAINBOARD_PART_NUMBER not defined
11 #ifndef COREBOOT_VERSION
12 #error COREBOOT_VERSION not defined
14 #ifndef COREBOOT_BUILD
15 #error COREBOOT_BUILD not defined
18 #ifndef COREBOOT_COMPILE_TIME
19 #error COREBOOT_COMPILE_TIME not defined
22 #ifndef COREBOOT_EXTRA_VERSION
23 #define COREBOOT_EXTRA_VERSION ""
26 const char mainboard_vendor
[] = CONFIG_MAINBOARD_VENDOR
;
27 const char mainboard_part_number
[] = CONFIG_MAINBOARD_PART_NUMBER
;
29 const char coreboot_version
[] = COREBOOT_VERSION
;
30 const char coreboot_extra_version
[] = COREBOOT_EXTRA_VERSION
;
31 const char coreboot_build
[] = COREBOOT_BUILD
;
32 const unsigned int coreboot_version_timestamp
= COREBOOT_VERSION_TIMESTAMP
;
33 const unsigned int coreboot_major_revision
= COREBOOT_MAJOR_VERSION
;
34 const unsigned int coreboot_minor_revision
= COREBOOT_MINOR_VERSION
;
36 const char coreboot_compile_time
[] = COREBOOT_COMPILE_TIME
;
37 const char coreboot_dmi_date
[] = COREBOOT_DMI_DATE
;
39 const struct bcd_date coreboot_build_date
= {
41 .year
= COREBOOT_BUILD_YEAR_BCD
,
42 .month
= COREBOOT_BUILD_MONTH_BCD
,
43 .day
= COREBOOT_BUILD_DAY_BCD
,
44 .weekday
= COREBOOT_BUILD_WEEKDAY_BCD
,
47 const unsigned int asl_revision
= ASL_VERSION
;