aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-19 21:00:13 -0600
committerBin Meng <bmeng@tinylab.org>2023-09-22 06:05:40 +0800
commit8c11d19e7599442d0325f79c7c7705b951f821d4 (patch)
tree62d59182a76f774a5872b7e749c56a0b23db7f2c /lib
parent53e8e6f98679a30eb338ca98ec173aa6ddd28d54 (diff)
downloadu-boot-8c11d19e7599442d0325f79c7c7705b951f821d4.tar.gz
x86: smbios: Add a Kconfig indicating SMBIOS-table presence
When booted from coreboot, U-Boot does not build the SMBIOS tables, but it should still pass them on to the OS. Add a new option which indicates whether SMBIOS tables are present, however they were built. Flip the ordering so that the dependency is listed first, which is less confusing. Adjust GENERATE_SMBIOS_TABLE to depend on this new symbol. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig15
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 7edaeebfda..6b5389f3a8 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -975,8 +975,8 @@ config BLOBLIST_TABLES
config GENERATE_SMBIOS_TABLE
bool "Generate an SMBIOS (System Management BIOS) table"
+ depends on SMBIOS
default y
- depends on X86 || EFI_LOADER
help
The System Management BIOS (SMBIOS) specification addresses how
motherboard and system vendors present management information about
@@ -1045,6 +1045,19 @@ config SPL_OID_REGISTRY
unambiguous persistent name (https://en.wikipedia.org/wiki/Object_identifier).
Enable fast lookup object identifier registry in the SPL.
+config SMBIOS
+ bool "SMBIOS support"
+ depends on X86 || EFI_LOADER
+ default y
+ help
+ Indicates that this platform can support System Management BIOS
+ (SMBIOS) tables. These provide various pieces of information about
+ the board, such as the manufacturer and the model name.
+
+ See GENERATE_SMBIOS_TABLE which controls whether U-Boot actually
+ creates these tables, rather than them coming from a previous firmware
+ stage.
+
config SMBIOS_PARSER
bool "SMBIOS parser"
help