diff options
author | Mathew King <mathewk@chromium.org> | 2019-07-31 15:50:15 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-08-03 17:19:59 +0000 |
commit | a7d55cf910ee23d0bfa8627da76d9b1449c08773 (patch) | |
tree | e681294a703db4bc1625b1bebf5f6754a48e395f /src/lib/edid.c | |
parent | 871d2c74a22a915f8ca31c38b5170029963f62ac (diff) |
smbios: Make SMBIOS type 3 enclosure type settable at runtime
smbios.h had already declared smbios_mainboard_enclosure_type so this
change defines it. It can be overridden in a mainboard so the enclosure
type can be set at runtime.
We have a mainboard that will be used in different enclosures and we are
planning on using a single BIOS image for all of the enclosures so it
will need to be set dynamically based on sku.
BUG=b:138745917
TEST=Built arcada firmware and verified via dmidecode that enclosure type
is correctly set to "Convertible", then temporarily added a
smbios_mainboard_enclosure_type to arcadas board file returning
0x20 and verified with dmidecode that the enclosure type is
"Detachable"
Change-Id: Iba6e582640989f5cb7e6613813e7b033760a977c
Signed-off-by: Mathew King <mathewk@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34646
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/lib/edid.c')
0 files changed, 0 insertions, 0 deletions