coreboot/src/drivers
Tim Wawrzynczak 93982c3a6e device: Switch pci_dev_is_wake_source to take pci_devfn_t
With the recent switch to SMM module loader v2, the size of the SMM for
module google/volteer increased to above 64K in size, and thus failed to
install the permanent SMM handler. Turns out, the devicetree is all
pulled into the SMM build because of elog, which calls
`pci_dev_is_wake_source`, and is the only user of `struct device` in
SMM. Changing this function to take a pci_devfn_t instead allows the
linker to remove almost the entire devicetree from SMM (only usage left
is when disabling HECI via SMM).

BUG=b:186661594
TEST=Verify loaded program size of `smm.elf` for google/volteer is
almost ~50% smaller.

Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I4c39e5188321c8711d6479b15065e5aaedad8f38
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52765
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2021-05-03 16:28:42 +00:00
..
amd drivers/amd/i2s_machine_dev: Make DMIC select gpio optional 2021-04-18 20:41:55 +00:00
ams treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
analogix/anx7625 drivers/analogix: Increase the clock tolerance from 0.1% to 2% 2021-03-27 10:02:18 +00:00
asmedia src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
aspeed drivers/aspeed: Fix some issues 2021-02-03 08:53:10 +00:00
broadcom src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
camera drivers/camera: Add config CHROMEOS_CAMERA 2020-10-19 06:50:20 +00:00
crb drivers/crb/tpm: Fix compilation on x86_64 2020-12-10 07:25:23 +00:00
elog commonlib/region: Turn addrspace_32bit into a more official API 2021-04-21 02:06:26 +00:00
emulation/qemu drivers: Replace set_vbe_mode_info_valid 2020-12-17 06:21:56 +00:00
generic src/drivers/generic/nau8315: Add nau8315 support 2021-04-06 07:03:15 +00:00
genesyslogic drivers/genesyslogic/gl9763e: Add HS400ES compatibility settings 2021-01-12 04:52:16 +00:00
gfx/generic src/drivers: Remove unused <console/console.h> 2021-02-15 10:48:39 +00:00
gic treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c drivers/i2c/designware: Use safe defaults for SCL parameters 2021-04-30 23:21:11 +00:00
intel drivers/intel/gma/Kconfig: Simplify CFL/WHL/CML conditions 2021-04-30 06:41:45 +00:00
ipmi src/drivers/ipmi: Add DEBUG_IPMI option 2021-04-18 20:37:10 +00:00
lenovo src: Replace remaining {get,set}_option() instances 2021-04-23 10:13:39 +00:00
maxim drivers/maxim/max77686/max77686.h: Remove repeated word 2021-01-18 07:39:21 +00:00
mrc_cache drivers/mrc_cache: Fix with VBOOT & VBOOT_STARTS_IN_ROMSTAGE 2021-04-09 06:18:20 +00:00
net cbfs: Replace more instances of cbfs_boot_locate() with newer APIs 2021-03-17 08:10:20 +00:00
ocp/dmi drivers/ocp/dmi/Kconfig: Set FRU_DEVICE_ID depend on OCP_DMI 2021-01-18 07:50:46 +00:00
parade src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
pc80 drivers/pc80/rtc: Factor out CMOS entry lookup 2021-04-25 11:43:50 +00:00
ricoh/rce822 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
secunet/dmi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
siemens/nc_fpga src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
sil/3114 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smmstore commonlib/region: Turn addrspace_32bit into a more official API 2021-04-21 02:06:26 +00:00
soundwire drivers/soundwire/alc1308 : Add ALC1308 soundwire device 2021-02-27 09:41:42 +00:00
spi Revert "drivers/spi: Stop using a variable-length array" 2021-04-18 11:02:51 +00:00
ti drivers/ti/sn65dsi86bridge: Add parentheses to Macros 2021-01-18 07:48:09 +00:00
tpm drivers/tpm/Kconfig: Rename TPM_INIT to TPM_INIT_RAMSTAGE 2021-04-09 06:21:35 +00:00
uart lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
usb drivers/usb/pci_xhci: Add cezanne xhci pci devce id 2021-03-10 00:47:18 +00:00
vpd commonlib/region: Turn addrspace_32bit into a more official API 2021-04-21 02:06:26 +00:00
wifi/generic device: Switch pci_dev_is_wake_source to take pci_devfn_t 2021-05-03 16:28:42 +00:00