From 6bbc91a96468b97a3e19cdba4641d68e2f2a6f98 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 7 Dec 2017 14:55:51 +0530 Subject: soc/intel/common/block: Add option to have subsystem_id in common pci driver This patch ensures all Intel common PCI devices can have subsystem ID programmed along with PCI resource enabling (.enable_resources) as part of PCI enumeration process. TEST=Build and boot KBL/CNL/APL/GLK to ensure PCI subsystem ID getting programmed. Example: Enabling resources... PCI: 00:00.0 subsystem <- 8086/590c PCI: 00:00.0 cmd <- 06 PCI: 00:02.0 subsystem <- 8086/591e Change-Id: I46307b0db78c8864c85865bd0f3328d5141971be Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/22768 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/intel/common/block/systemagent/systemagent.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/intel/common/block/systemagent/systemagent.c') diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c index 5be9fe1511..f6301ddc53 100644 --- a/src/soc/intel/common/block/systemagent/systemagent.c +++ b/src/soc/intel/common/block/systemagent/systemagent.c @@ -281,6 +281,7 @@ static struct device_operations systemagent_ops = { .set_resources = &pci_dev_set_resources, .enable_resources = &pci_dev_enable_resources, .init = soc_systemagent_init, + .ops_pci = &pci_dev_ops_pci, }; static const unsigned short systemagent_ids[] = { -- cgit v1.2.3