summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-27 23:23:14 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-29 20:08:53 +0200
commit71c0bf6202bee2c17b3e64b377038207f6018dc6 (patch)
tree387384b230308f9ed556f59e1b0382e783470969 /src/include
parent04e6f070aa58338a8ac7852172f75914baab5382 (diff)
downloadcoreboot-71c0bf6202bee2c17b3e64b377038207f6018dc6.tar.xz
smbios: Define and use enclosure types.
Change-Id: Ib5b92120cbe2ca41c9813e8caeb03161f4d3954c Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6786 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/smbios.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 7c41c42fad..a5716b38a5 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -115,6 +115,12 @@ struct smbios_type2 {
char eos[2];
} __attribute__((packed));
+enum
+{
+ SMBIOS_ENCLOSURE_DESKTOP = 3,
+ SMBIOS_ENCLOSURE_NOTEBOOK = 9,
+};
+
struct smbios_type3 {
u8 type;
u8 length;