mb/starlabs/*: Change the local version to Kconfig

Replace the string with a Kconfig option

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: Ib11ddd04c44f47b94f4fc9eaed278d554d581b0f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68937
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Sean Rhodes 2022-10-28 08:26:15 +01:00 committed by Martin L Roth
parent 833bb448c5
commit 7c09e546af
3 changed files with 6 additions and 2 deletions

View File

@ -12,4 +12,8 @@ source "src/mainboard/starlabs/*/Kconfig"
config MAINBOARD_VENDOR
default "Star Labs"
config LOCAL_VERSION
string
default "8.18"
endif # VENDOR_STARLABS

View File

@ -11,7 +11,7 @@
const char *smbios_mainboard_bios_version(void)
{
return "8";
return CONFIG_LOCAL_VERSION;
}
/* Get the Embedded Controller firmware version */

View File

@ -11,7 +11,7 @@
const char *smbios_mainboard_bios_version(void)
{
return "8";
return CONFIG_LOCAL_VERSION;
}
/* Get the Embedded Controller firmware version */