summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-05-10 15:38:29 +0200
committerPatrick Rudolph <siro@das-labor.org>2019-05-12 07:48:18 +0000
commitf77eb44433c99a4b3fff5ec67300457a6a52498b (patch)
treeb982ff55537cd9aa4d74534cd2aaed5a37884f78 /src
parent2be0b50be5783f173989a7882f3650d2a106f974 (diff)
downloadcoreboot-f77eb44433c99a4b3fff5ec67300457a6a52498b.tar.xz
mb/lenovo/*: Add MAINBOARD_FAMILY
The Kconfig MAINBOARD_FAMILY sets the family field of SMBIOS entry 1. Match what vendor firmware does and use the same value as in the version field. Required for fwupd which uses the family field to generate a GUID. Change-Id: I0033c42c5eac6b9d47d0acd16c67467b6d419534 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32727 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/lenovo/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/Kconfig b/src/mainboard/lenovo/Kconfig
index a57b462529..ea1ead13e0 100644
--- a/src/mainboard/lenovo/Kconfig
+++ b/src/mainboard/lenovo/Kconfig
@@ -13,4 +13,8 @@ config MAINBOARD_VENDOR
string
default "LENOVO"
+config MAINBOARD_FAMILY
+ string
+ default MAINBOARD_PART_NUMBER
+
endif # VENDOR_LENOVO