diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2024-02-06 23:09:33 +0300 |
---|---|---|
committer | Matt DeVillier <matt.devillier@gmail.com> | 2024-02-27 20:21:54 +0000 |
commit | dd63418f81771b8686f8a14faff10fb8a593b6d2 (patch) | |
tree | 53e563ead070007a1ffad8d9cbdc90fab611a9af /src/device/gpio.c | |
parent | afc20515541406ff7b98a51658483568754099d2 (diff) |
mb/qemu/fw_cfg: Fix build when not generating SMBIOS tables
Parts of the QEMU firmware configuration device driver refers to SMBIOS
related kconfig values. These depend on GENERATE_SMBIOS_TABLES and are
undefined if it isn't enabled, causing a build error.
Cover the SMBIOS-related region in this driver with an #if directive
checking the necessary config option. This is mostly to help port the
driver to non-x86 architectures where support for generating SMBIOS
tables isn't there yet.
Change-Id: I3ff388d4574eb52686a5dda3dcbc3d64a7ce6f7b
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80366
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/gpio.c')
0 files changed, 0 insertions, 0 deletions