summaryrefslogtreecommitdiffstats
path: root/src/include/version.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-12-15 22:12:10 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-04-22 16:20:49 +0000
commita9dd3c3fae07b8740c9da30c691a738e8d5e5fa4 (patch)
treedc502d28e1119ea1aa72ba7d499e8b7de05f6d7f /src/include/version.h
parent5cabc29013759f667a9a08a88c58468485749ac9 (diff)
downloadcoreboot-a9dd3c3fae07b8740c9da30c691a738e8d5e5fa4.tar.gz
coreboot-a9dd3c3fae07b8740c9da30c691a738e8d5e5fa4.tar.bz2
coreboot-a9dd3c3fae07b8740c9da30c691a738e8d5e5fa4.zip
lib/version: Move board identification strings
These strings are now only expanded in lib/identity.c. This improves ccache hit rates slightly, as one built object file lib/version.o is used for all variants of a board. Also one built object file lib/identity.o can become a ccache hit for successive builds of a variant, while the commit hash changes. Change-Id: Ia7d5454d95c8698ab1c1744e63ea4c04d615bb3b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74449 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/include/version.h')
-rw-r--r--src/include/version.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/version.h b/src/include/version.h
index 84bb34a7b514..926756a53457 100644
--- a/src/include/version.h
+++ b/src/include/version.h
@@ -3,10 +3,6 @@
#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[];