blob: 53abeca15599a2bea3de1a53d63a636bfc2db6df [file] [log] [blame]
Eric Biederman8ca8d762003-04-22 19:02:15 +00001#include <version.h>
Stefan Reinauerb4d3af82010-02-11 03:21:29 +00002#include <build.h>
Eric Biederman8ca8d762003-04-22 19:02:15 +00003
Stefan Reinauer08670622009-06-30 15:17:49 +00004#ifndef CONFIG_MAINBOARD_VENDOR
5#error CONFIG_MAINBOARD_VENDOR not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +00006#endif
Stefan Reinauer08670622009-06-30 15:17:49 +00007#ifndef CONFIG_MAINBOARD_PART_NUMBER
8#error CONFIG_MAINBOARD_PART_NUMBER not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +00009#endif
10
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000011#ifndef COREBOOT_VERSION
12#error COREBOOT_VERSION not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +000013#endif
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000014#ifndef COREBOOT_BUILD
15#error COREBOOT_BUILD not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +000016#endif
17
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000018#ifndef COREBOOT_COMPILE_TIME
19#error COREBOOT_COMPILE_TIME not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +000020#endif
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000021#ifndef COREBOOT_COMPILE_BY
22#error COREBOOT_COMPILE_BY not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +000023#endif
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000024#ifndef COREBOOT_COMPILE_HOST
25#error COREBOOT_COMPILE_HOST not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +000026#endif
27
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000028#ifndef COREBOOT_COMPILER
29#error COREBOOT_COMPILER not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +000030#endif
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000031#ifndef COREBOOT_LINKER
32#error COREBOOT_LINKER not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +000033#endif
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000034#ifndef COREBOOT_ASSEMBLER
35#error COREBOOT_ASSEMBLER not defined
Eric Biederman8ca8d762003-04-22 19:02:15 +000036#endif
37
38
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000039#ifndef COREBOOT_EXTRA_VERSION
40#define COREBOOT_EXTRA_VERSION ""
Eric Biederman8ca8d762003-04-22 19:02:15 +000041#endif
42
Stefan Reinauer08670622009-06-30 15:17:49 +000043const char mainboard_vendor[] = CONFIG_MAINBOARD_VENDOR;
44const char mainboard_part_number[] = CONFIG_MAINBOARD_PART_NUMBER;
Eric Biederman8ca8d762003-04-22 19:02:15 +000045
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000046const char coreboot_version[] = COREBOOT_VERSION;
47const char coreboot_extra_version[] = COREBOOT_EXTRA_VERSION;
48const char coreboot_build[] = COREBOOT_BUILD;
Eric Biederman8ca8d762003-04-22 19:02:15 +000049
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000050const char coreboot_compile_time[] = COREBOOT_COMPILE_TIME;
51const char coreboot_compile_by[] = COREBOOT_COMPILE_BY;
52const char coreboot_compile_host[] = COREBOOT_COMPILE_HOST;
53const char coreboot_compile_domain[] = COREBOOT_COMPILE_DOMAIN;
54const char coreboot_compiler[] = COREBOOT_COMPILER;
55const char coreboot_linker[] = COREBOOT_LINKER;
56const char coreboot_assembler[] = COREBOOT_ASSEMBLER;
Eric Biederman8ca8d762003-04-22 19:02:15 +000057
58
59
60