summaryrefslogtreecommitdiff
path: root/src/mainboard/Kconfig
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2012-07-03 10:11:51 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-07-03 13:36:27 +0200
commita645abbf54f965e596c58e8eb2c84d733e19b737 (patch)
tree1b2b96e855d8b95eba5d8f952a8791efc883af29 /src/mainboard/Kconfig
parent9b4c92ad80d691e9e2a4e5a84ad035fbe8e8d977 (diff)
downloadcoreboot-a645abbf54f965e596c58e8eb2c84d733e19b737.tar.xz
SMBIOS: move serial number and version out to Kconf
With this change it is possible to define serial number and version of the mainboard. These informations are used in SMBIOS tables. Change-Id: I1634882270f6cb94e00aceb7832e7fd14adc186b Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-on: http://review.coreboot.org/1163 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/Kconfig')
-rw-r--r--src/mainboard/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index c89d4a75a8..b53b0e703c 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -323,4 +323,17 @@ 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 "Serial number"
+ depends on GENERATE_SMBIOS_TABLES
+ default "123456789"
+ help
+ Define the used serial number which will be used by SMBIOS tables.
+
+config MAINBOARD_VERSION
+ string "Version number"
+ depends on GENERATE_SMBIOS_TABLES
+ default "1.0"
+ help
+ Define the used version number which will be used by SMBIOS tables.
endmenu