Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74451 )
Change subject: SMBIOS: Group Kconfig dependency ......................................................................
SMBIOS: Group Kconfig dependency
Change-Id: I5a75a7230fd78c0a9926adc491059f55647cc9a3 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/Kconfig 1 file changed, 15 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/74451/1
diff --git a/src/Kconfig b/src/Kconfig index e35df43..3b2b29a 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -883,10 +883,11 @@ 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. @@ -894,7 +895,6 @@ 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. @@ -902,7 +902,6 @@ 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. @@ -910,7 +909,6 @@ 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. @@ -918,13 +916,15 @@ 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"