From a2a9e8ea8fb58943a04ba1a5890010b20beb474e Mon Sep 17 00:00:00 2001 From: Kapil Porwal Date: Tue, 27 Dec 2022 19:26:48 +0530 Subject: [PATCH] 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 Change-Id: I08c7a5a3fdc7389b315e85180c16d1ec335fbba2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71275 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Subrata Banik --- src/soc/intel/common/block/fast_spi/fast_spi.c | 1 + 1 file changed, 1 insertion(+) 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 471c85d88a..a2c49915ea 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 @@ static struct device_operations fast_spi_dev_ops = { .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[] = {