summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2014-10-17 13:28:15 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2014-10-17 14:37:13 +0200
commit6023ca4970116b38b9708b988dc87a38ad26c6bb (patch)
tree8f4c65318b521f7033cbccc8bccdc78a903a243f
parent007dbe130fcea076c9444f8184963ace1f99a607 (diff)
downloadcoreboot-6023ca4970116b38b9708b988dc87a38ad26c6bb.tar.xz
Kconfig: move SMBIOS related options to SMBIOS table option
Change-Id: I74943d0248f49796b9d31d6ed827c69f8cea13a5 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/7090 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/Kconfig28
-rw-r--r--src/mainboard/Kconfig28
2 files changed, 28 insertions, 28 deletions
diff --git a/src/Kconfig b/src/Kconfig
index ab471d29d4..5fe7b76793 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -507,6 +507,34 @@ config GENERATE_SMBIOS_TABLES
If unsure, say Y.
+config MAINBOARD_SERIAL_NUMBER
+ string "SMBIOS Serial Number"
+ depends on GENERATE_SMBIOS_TABLES
+ default "123456789"
+ help
+ The Serial Number to store in SMBIOS structures.
+
+config MAINBOARD_VERSION
+ string "SMBIOS Version Number"
+ depends on GENERATE_SMBIOS_TABLES
+ default "1.0"
+ help
+ The Version Number to store in SMBIOS structures.
+
+config MAINBOARD_SMBIOS_MANUFACTURER
+ string "SMBIOS Manufacturer"
+ depends on GENERATE_SMBIOS_TABLES
+ default MAINBOARD_VENDOR
+ help
+ Override the default Manufacturer stored in SMBIOS structures.
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ string "SMBIOS Product name"
+ depends on GENERATE_SMBIOS_TABLES
+ default MAINBOARD_PART_NUMBER
+ help
+ Override the default Product name stored in SMBIOS structures.
+
endmenu
menu "Payload"
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index f761b7af99..29b439cd03 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -359,32 +359,4 @@ config ENABLE_POWER_BUTTON
def_bool y if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_ENABLE
def_bool n if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_DISABLE
-config MAINBOARD_SERIAL_NUMBER
- string "SMBIOS Serial Number"
- depends on GENERATE_SMBIOS_TABLES
- default "123456789"
- help
- The Serial Number to store in SMBIOS structures.
-
-config MAINBOARD_VERSION
- string "SMBIOS Version Number"
- depends on GENERATE_SMBIOS_TABLES
- default "1.0"
- help
- The Version Number to store in SMBIOS structures.
-
-config MAINBOARD_SMBIOS_MANUFACTURER
- string "SMBIOS Manufacturer"
- depends on GENERATE_SMBIOS_TABLES
- default MAINBOARD_VENDOR
- help
- Override the default Manufacturer stored in SMBIOS structures.
-
-config MAINBOARD_SMBIOS_PRODUCT_NAME
- string "SMBIOS Product name"
- depends on GENERATE_SMBIOS_TABLES
- default MAINBOARD_PART_NUMBER
- help
- Override the default Product name stored in SMBIOS structures.
-
endmenu