aboutsummaryrefslogtreecommitdiff
path: root/src/include/smbios.h
diff options
context:
space:
mode:
authorChristian Walter <christian.walter@9elements.com>2019-05-21 17:37:58 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2019-05-28 11:52:27 +0000
commit9e5b06297d8f5d86d33ced80f371d52ef4c12334 (patch)
treebf0ef567852978dc1513be9b550c127cff58a932 /src/include/smbios.h
parent3b4d0e060cd4d3384cba18404c0c309cf94f508e (diff)
src/arch/x86: Add automatic type41 entry creation
SMBIOS Type41 Entries will be automatically created. Type 41 entries define attributes of the onboard devices. Change-Id: Idcb3532a5c05666d6613af4f303df85f4f1f6e97 Signed-off-by: Christian Walter <christian.walter@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32910 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/smbios.h')
-rw-r--r--src/include/smbios.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 017e90e742..0bba0a7f9e 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -756,6 +756,8 @@ typedef enum {
SMBIOS_DEVICE_TYPE_SAS,
} smbios_onboard_device_type;
+#define SMBIOS_DEVICE_TYPE_COUNT 10
+
struct smbios_type41 {
u8 type;
u8 length;