diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-10-28 08:26:15 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-10-29 15:34:46 +0000 |
commit | 7c09e546af08203f26fb0794c8ba983437e8a29d (patch) | |
tree | e3c673e4211661714109514112737d6efc7503d8 /src | |
parent | 833bb448c5213b6b9051aa7c55f9b9a2585b8c49 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/starlabs/Kconfig | 4 | ||||
-rw-r--r-- | src/mainboard/starlabs/lite/smbios.c | 2 | ||||
-rw-r--r-- | src/mainboard/starlabs/starbook/smbios.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/mainboard/starlabs/Kconfig b/src/mainboard/starlabs/Kconfig index 4df05881d1..4295ef4bdd 100644 --- a/src/mainboard/starlabs/Kconfig +++ b/src/mainboard/starlabs/Kconfig @@ -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 diff --git a/src/mainboard/starlabs/lite/smbios.c b/src/mainboard/starlabs/lite/smbios.c index 394e29c5c9..511b28fef3 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 fbdbefd361..47280ce0ea 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 */ |