summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-12-16 01:42:44 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2023-05-01 17:32:06 +0000
commit96581b3217203b0618062799b9a117bd7cc684ff (patch)
tree5d4f43ff45f830a072049669c89ce9c55a8f058f
parent03220d602315d5017faf819d44541b9b649151ee (diff)
SMBIOS: Group Kconfig dependency
Change-Id: I5a75a7230fd78c0a9926adc491059f55647cc9a3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74451 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
-rw-r--r--src/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 9042719abf..50381ae099 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -889,10 +889,11 @@ config SMBIOS_PROVIDED_BY_MOBO
bool
default n
+if GENERATE_SMBIOS_TABLES
+
config MAINBOARD_SERIAL_NUMBER
prompt "SMBIOS Serial Number" if !SMBIOS_PROVIDED_BY_MOBO
string
- depends on GENERATE_SMBIOS_TABLES
default "123456789"
help
The Serial Number to store in SMBIOS structures.
@@ -900,7 +901,6 @@ config MAINBOARD_SERIAL_NUMBER
config MAINBOARD_VERSION
prompt "SMBIOS Version Number" if !SMBIOS_PROVIDED_BY_MOBO
string
- depends on GENERATE_SMBIOS_TABLES
default "1.0"
help
The Version Number to store in SMBIOS structures.
@@ -908,7 +908,6 @@ config MAINBOARD_VERSION
config MAINBOARD_SMBIOS_MANUFACTURER
prompt "SMBIOS Manufacturer" if !SMBIOS_PROVIDED_BY_MOBO
string
- depends on GENERATE_SMBIOS_TABLES
default MAINBOARD_VENDOR
help
Override the default Manufacturer stored in SMBIOS structures.
@@ -916,7 +915,6 @@ config MAINBOARD_SMBIOS_MANUFACTURER
config MAINBOARD_SMBIOS_PRODUCT_NAME
prompt "SMBIOS Product name" if !SMBIOS_PROVIDED_BY_MOBO
string
- depends on GENERATE_SMBIOS_TABLES
default MAINBOARD_PART_NUMBER
help
Override the default Product name stored in SMBIOS structures.
@@ -924,13 +922,15 @@ config MAINBOARD_SMBIOS_PRODUCT_NAME
config VPD_SMBIOS_VERSION
bool "Populates SMBIOS type 0 version from the VPD_RO variable 'firmware_version'"
default n
- depends on VPD && GENERATE_SMBIOS_TABLES
+ depends on VPD
help
Selecting this option will read firmware_version from
VPD_RO and override SMBIOS type 0 version. One special
scenario of using this feature is to assign a BIOS version
to a coreboot image without the need to rebuild from source.
+endif
+
endmenu
source "payloads/Kconfig"