Martin L Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/68937 )
Change subject: mb/starlabs/*: Change the local version to Kconfig ......................................................................
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 --- M src/mainboard/starlabs/Kconfig M src/mainboard/starlabs/lite/smbios.c M src/mainboard/starlabs/starbook/smbios.c 3 files changed, 21 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Arthur Heymans: Looks good to me, approved
diff --git a/src/mainboard/starlabs/Kconfig b/src/mainboard/starlabs/Kconfig index 4df0588..4295ef4 100644 --- a/src/mainboard/starlabs/Kconfig +++ b/src/mainboard/starlabs/Kconfig @@ -12,4 +12,8 @@ config MAINBOARD_VENDOR default "Star Labs"
+config LOCAL_VERSION + string + default "8.18" + endif # VENDOR_STARLABS diff --git a/src/mainboard/starlabs/lite/smbios.c b/src/mainboard/starlabs/lite/smbios.c index 394e29c..511b28f 100644 --- a/src/mainboard/starlabs/lite/smbios.c +++ b/src/mainboard/starlabs/lite/smbios.c @@ -11,7 +11,7 @@
const char *smbios_mainboard_bios_version(void) { - return "8"; + return CONFIG_LOCAL_VERSION; }
/* Get the Embedded Controller firmware version */ diff --git a/src/mainboard/starlabs/starbook/smbios.c b/src/mainboard/starlabs/starbook/smbios.c index fbdbefd..47280ce 100644 --- a/src/mainboard/starlabs/starbook/smbios.c +++ b/src/mainboard/starlabs/starbook/smbios.c @@ -11,7 +11,7 @@
const char *smbios_mainboard_bios_version(void) { - return "8"; + return CONFIG_LOCAL_VERSION; }
/* Get the Embedded Controller firmware version */