coreboot/src/drivers/wifi/generic
Angel Pons 6a73b2466f SMBIOS: Allow skipping default SMBIOS generation
The call to the `get_smbios_data` device operation is followed by
calls to unconditional default functions, which lacks flexibility.
Instead, have devices that implement `get_smbios_data` call these
default functions as needed.

Most `get_smbios_data` implementations are in mainboard code, and are
bound to the root device. The default functions only operate with PCI
devices because of the `dev->path.type != DEVICE_PATH_PCI` checks, so
calling these functions for non-PCI devices is unnecessary. QEMU also
implements `get_smbios_data` but binds it to the domain device, which
isn't PCI either.

Change-Id: Iefbf072b1203d04a98c9d26a30f22cfebe769eb4
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57366
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>
2021-09-13 13:54:03 +00:00
..
acpi.c wifi: Update deny list entry size to uint16_t 2021-09-09 15:01:35 +00:00
chip.h drivers/wifi/generic: Limit scope of ACPI-related functions to generic.c 2020-10-13 18:44:46 +00:00
generic.c device: Switch pci_dev_is_wake_source to take pci_devfn_t 2021-05-03 16:28:42 +00:00
Kconfig drivers/wifi, mb/google: Drop config WIFI_SAR_CBFS 2021-03-17 07:55:40 +00:00
Makefile.inc drivers/wifi, mb/google: Drop config WIFI_SAR_CBFS 2021-03-17 07:55:40 +00:00
smbios.c SMBIOS: Allow skipping default SMBIOS generation 2021-09-13 13:54:03 +00:00
wifi_private.h drivers/wifi/generic: Add support for CNVi dummy device ops 2020-11-02 06:14:12 +00:00