From b78e4620375cc5668db668d900340fd89271c330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 15 Dec 2022 22:12:29 +0200 Subject: Convert literal uses of CONFIG_MAINBOARD_{VENDOR,PART_NUMBER} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only expand these strings in lib/identity.o. Change-Id: I8732bbeff8cf8a757bf32fdb615b1d0f97584585 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/74907 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin Reviewed-by: Yu-Ping Wu Reviewed-by: Felix Held --- src/mainboard/msi/ms7d25/mainboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainboard/msi') diff --git a/src/mainboard/msi/ms7d25/mainboard.c b/src/mainboard/msi/ms7d25/mainboard.c index 539f897e7a79..ee781d585620 100644 --- a/src/mainboard/msi/ms7d25/mainboard.c +++ b/src/mainboard/msi/ms7d25/mainboard.c @@ -2,6 +2,7 @@ #include #include +#include #include #include #include @@ -49,7 +50,7 @@ const char *smbios_mainboard_product_name(void) return "PRO Z690-A (MS-7D25)"; } - return CONFIG_MAINBOARD_PART_NUMBER; + return mainboard_part_number; } /* Only baseboard serial number is populated */ -- cgit v1.2.3