summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-07 12:50:57 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-06-09 06:29:59 +0000
commitbe242788c23fe3ee1ac1e5585584969deb50def4 (patch)
tree522c9a847955a852a86df37c8eded430e6e33e97 /src/Kconfig
parent8770954b99aedaa95f4066b0b35d52ba44373daa (diff)
SMBIOS: Remove Kconfig SYSTEM_ENCLOSURE_TYPE
This gets rid of the magic numbers in Kconfig. Change-Id: Ibee033b6c99e3131bb323f0d86d306dcd82f9b45 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42139 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Kconfig b/src/Kconfig
index b96d51f526..63ecd0a450 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -734,20 +734,6 @@ config MAINBOARD_SMBIOS_PRODUCT_NAME
help
Override the default Product name stored in SMBIOS structures.
-config SMBIOS_ENCLOSURE_TYPE
- hex
- depends on GENERATE_SMBIOS_TABLES
- default 0x09 if SYSTEM_TYPE_LAPTOP
- default 0x1e if SYSTEM_TYPE_TABLET
- default 0x1f if SYSTEM_TYPE_CONVERTIBLE
- default 0x20 if SYSTEM_TYPE_DETACHABLE
- default 0x03
- help
- System Enclosure or Chassis Types as defined in SMBIOS specification.
- The default value is SMBIOS_ENCLOSURE_DESKTOP (0x03) but laptop,
- convertible, or tablet enclosure will be used if the appropriate
- system type is selected.
-
endmenu
source "payloads/Kconfig"