yuchi.chen@intel.com has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84109?usp=email )
Change subject: soc/intel/common/systemagent: read sa resources only from domain 0 ......................................................................
soc/intel/common/systemagent: read sa resources only from domain 0
Change-Id: Ida4461de6275bdd314f5cba441d3ff631d570305 Signed-off-by: Yuchi Chen yuchi.chen@intel.com --- M src/soc/intel/common/block/systemagent/systemagent.c 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/09/84109/1
diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c index bca442b..e8d7432 100644 --- a/src/soc/intel/common/block/systemagent/systemagent.c +++ b/src/soc/intel/common/block/systemagent/systemagent.c @@ -273,6 +273,12 @@ { int index = 0;
+ /** + * If SoC has multiple PCIe domains, only reading resources from the first one. + */ + if (!is_dev_on_domain0(dev)) + return; + /* Read standard PCI resources. */ pci_dev_read_resources(dev);