coreboot-kgpe-d16/src
Mathew King a7d55cf910 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>
2019-08-03 17:19:59 +00:00
..
acpi AUTHORS: Move src/acpi copyrights into AUTHORS file 2019-07-30 11:04:14 +00:00
arch smbios: Make SMBIOS type 3 enclosure type settable at runtime 2019-08-03 17:19:59 +00:00
commonlib vboot: deprecate vboot_handoff structure 2019-07-23 12:07:07 +00:00
console src: Make implicit fall throughs explicit 2019-07-19 09:57:54 +00:00
cpu src/cpu/intel: Add sanity check for cpu turbo mode capability 2019-07-21 19:01:13 +00:00
device device/pci_ops: Make PCI_BDF() available in all stages 2019-08-02 15:47:53 +00:00
drivers drivers/crb: Add CRB driver for TPM2 support 2019-07-31 10:58:36 +00:00
ec ec/google/wilco: Hide wilco symbols when unused 2019-07-25 16:46:17 +00:00
include device/pci_ops: Make PCI_BDF() available in all stages 2019-08-02 15:47:53 +00:00
lib lib/bootmem: Prepare for OpenSBI 2019-07-31 10:57:30 +00:00
mainboard mb/emulation/qemu-riscv: Add opensbi support 2019-08-03 17:19:17 +00:00
northbridge nb/amd/amdht: Use standard coreboot assertions 2019-07-30 09:57:44 +00:00
security drivers/crb: Add CRB driver for TPM2 support 2019-07-31 10:58:36 +00:00
soc soc/samsung/exynos5420: Refactor fimd vidtcon access 2019-08-02 10:00:09 +00:00
southbridge sb/intel/common/spi: Fix opmenu setup 2019-07-28 17:54:02 +00:00
superio src/superio/nuvoton: Add support for NCT5539D 2019-07-29 17:02:12 +00:00
vendorcode vc/cavium/bdk/libbdk-hal: Fix eye data memory leak 2019-08-02 10:00:58 +00:00
Kconfig Kconfig: Remove HAVE_RAMSTAGE dependency from RELOCATABLE_RAMSTAGE 2019-07-12 02:22:27 +00:00