Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/71275 )
Change subject: soc/intel/common/block/fast_spi: Hook up pci_dev_ops_pci to set SSID ......................................................................
soc/intel/common/block/fast_spi: Hook up pci_dev_ops_pci to set SSID
BUG=none TEST=Verify presence of subsystem ID for fast_spi device on google/rex.
lspci output before this patch: 00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:7e23]
lspci output after this patch: 00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:7e23] Subsystem: Intel Corporation Device [8086:7e23]
Note: UPD SiSkipSsidProgramming was set to 1 for above test.
Signed-off-by: Kapil Porwal kapilporwal@google.com Change-Id: I08c7a5a3fdc7389b315e85180c16d1ec335fbba2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71275 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Paul Menzel paulepanter@mailbox.org Reviewed-by: Subrata Banik subratabanik@google.com --- M src/soc/intel/common/block/fast_spi/fast_spi.c 1 file changed, 27 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Paul Menzel: Looks good to me, but someone else must approve Subrata Banik: Looks good to me, approved
diff --git a/src/soc/intel/common/block/fast_spi/fast_spi.c b/src/soc/intel/common/block/fast_spi/fast_spi.c index 471c85d..a2c4991 100644 --- a/src/soc/intel/common/block/fast_spi/fast_spi.c +++ b/src/soc/intel/common/block/fast_spi/fast_spi.c @@ -542,6 +542,7 @@ .enable_resources = pci_dev_enable_resources, .acpi_fill_ssdt = fast_spi_fill_ssdt, .acpi_name = fast_spi_acpi_name, + .ops_pci = &pci_dev_ops_pci, };
static const unsigned short pci_device_ids[] = {