2003-04-22 21:02:15 +02:00
|
|
|
#include <version.h>
|
2010-02-11 04:21:29 +01:00
|
|
|
#include <build.h>
|
2003-04-22 21:02:15 +02:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
#ifndef CONFIG_MAINBOARD_VENDOR
|
|
|
|
#error CONFIG_MAINBOARD_VENDOR not defined
|
2003-04-22 21:02:15 +02:00
|
|
|
#endif
|
2009-06-30 17:17:49 +02:00
|
|
|
#ifndef CONFIG_MAINBOARD_PART_NUMBER
|
2016-07-11 09:01:22 +02:00
|
|
|
#error CONFIG_MAINBOARD_PART_NUMBER not defined
|
2003-04-22 21:02:15 +02:00
|
|
|
#endif
|
|
|
|
|
2008-01-18 16:08:58 +01:00
|
|
|
#ifndef COREBOOT_VERSION
|
2016-07-11 09:01:22 +02:00
|
|
|
#error COREBOOT_VERSION not defined
|
2003-04-22 21:02:15 +02:00
|
|
|
#endif
|
2008-01-18 16:08:58 +01:00
|
|
|
#ifndef COREBOOT_BUILD
|
2016-07-11 09:01:22 +02:00
|
|
|
#error COREBOOT_BUILD not defined
|
2003-04-22 21:02:15 +02:00
|
|
|
#endif
|
|
|
|
|
2008-01-18 16:08:58 +01:00
|
|
|
#ifndef COREBOOT_COMPILE_TIME
|
2016-07-11 09:01:22 +02:00
|
|
|
#error COREBOOT_COMPILE_TIME not defined
|
2003-04-22 21:02:15 +02:00
|
|
|
#endif
|
|
|
|
|
2016-07-11 09:01:22 +02:00
|
|
|
#ifndef COREBOOT_EXTRA_VERSION
|
2008-01-18 16:08:58 +01:00
|
|
|
#define COREBOOT_EXTRA_VERSION ""
|
2003-04-22 21:02:15 +02:00
|
|
|
#endif
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
const char mainboard_vendor[] = CONFIG_MAINBOARD_VENDOR;
|
|
|
|
const char mainboard_part_number[] = CONFIG_MAINBOARD_PART_NUMBER;
|
2003-04-22 21:02:15 +02:00
|
|
|
|
2008-01-18 16:08:58 +01:00
|
|
|
const char coreboot_version[] = COREBOOT_VERSION;
|
|
|
|
const char coreboot_extra_version[] = COREBOOT_EXTRA_VERSION;
|
|
|
|
const char coreboot_build[] = COREBOOT_BUILD;
|
2014-08-23 01:08:09 +02:00
|
|
|
const unsigned int coreboot_version_timestamp = COREBOOT_VERSION_TIMESTAMP;
|
2019-02-15 17:39:56 +01:00
|
|
|
const unsigned int coreboot_major_revision = COREBOOT_MAJOR_VERSION;
|
|
|
|
const unsigned int coreboot_minor_revision = COREBOOT_MINOR_VERSION;
|
2008-01-18 16:08:58 +01:00
|
|
|
|
2016-07-11 09:01:22 +02:00
|
|
|
const char coreboot_compile_time[] = COREBOOT_COMPILE_TIME;
|
|
|
|
const char coreboot_dmi_date[] = COREBOOT_DMI_DATE;
|
2014-11-18 11:41:16 +01:00
|
|
|
|
|
|
|
const struct bcd_date coreboot_build_date = {
|
|
|
|
.century = 0x20,
|
|
|
|
.year = COREBOOT_BUILD_YEAR_BCD,
|
|
|
|
.month = COREBOOT_BUILD_MONTH_BCD,
|
|
|
|
.day = COREBOOT_BUILD_DAY_BCD,
|
|
|
|
.weekday = COREBOOT_BUILD_WEEKDAY_BCD,
|
|
|
|
};
|
2019-02-15 08:21:33 +01:00
|
|
|
|
|
|
|
const unsigned int asl_revision = ASL_VERSION;
|