SMBIOS: Skip `get_smbios_data` for disabled devices
commit8b98f8bf076dbbd5bf5431ec41c06c3942880a24
authorAngel Pons <th3fanbus@gmail.com>
Tue, 7 Sep 2021 12:00:17 +0000 (7 14:00 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Mon, 13 Sep 2021 13:54:39 +0000 (13 13:54 +0000)
tree4b90d17924fa86d61d6e5876bfadbe2823f19ca6
parent6a73b2466f388b34086a941572d0af7d0614da3f
SMBIOS: Skip `get_smbios_data` for disabled devices

If a device is disabled, do not call the `get_smbios_data` code.

Change-Id: I8960f869e0864f7c82d5fe507f96b62cbd045569
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57458
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
src/arch/x86/smbios.c