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:
committed by
Martin L Roth
parent
833bb448c5
commit
7c09e546af
@@ -12,4 +12,8 @@ source "src/mainboard/starlabs/*/Kconfig"
|
|||||||
config MAINBOARD_VENDOR
|
config MAINBOARD_VENDOR
|
||||||
default "Star Labs"
|
default "Star Labs"
|
||||||
|
|
||||||
|
config LOCAL_VERSION
|
||||||
|
string
|
||||||
|
default "8.18"
|
||||||
|
|
||||||
endif # VENDOR_STARLABS
|
endif # VENDOR_STARLABS
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
const char *smbios_mainboard_bios_version(void)
|
const char *smbios_mainboard_bios_version(void)
|
||||||
{
|
{
|
||||||
return "8";
|
return CONFIG_LOCAL_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the Embedded Controller firmware version */
|
/* Get the Embedded Controller firmware version */
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
const char *smbios_mainboard_bios_version(void)
|
const char *smbios_mainboard_bios_version(void)
|
||||||
{
|
{
|
||||||
return "8";
|
return CONFIG_LOCAL_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the Embedded Controller firmware version */
|
/* Get the Embedded Controller firmware version */
|
||||||
|
Reference in New Issue
Block a user