coreboot-kgpe-d16/src/soc
Furquan Shaikh 0478037e11 soc/intel/icelake: Use SA_DEV_ROOT instead of PCH_DEV_PMC
PMC device gets hidden from PCI bus after FSP-S call. Thus, it gets
removed from the root bus as leftover unused device. With change
903b40a8a4 ("soc/intel: Replace uses of dev_find_slot()"), all uses
of dev_find_slot() were replaced by pcidev_path_on_root() which relies
on scanning of root bus to find the requested device. Since PMC device
is removed from the root bus, pcidev_path_on_root() returns NULL for
it thus resulting in configuration being skipped for the PMC
ultimately resulting in S3 failures.

Since the PCH_DEV_PMC was just used to get to chip config, this
change replaces the use of PCH_DEV_PMC with SA_DEV_ROOT.

BUG=b:136861224

Change-Id: Id68db8382b7b98e8e2e4a65ded1a6fb3bd057051
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34118
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
2019-07-07 07:52:30 +00:00
..
amd soc/amd/picasso: Remove all AGESA references 2019-07-06 18:21:39 +00:00
cavium device/pci_ops: Define pci_find_capability() just once 2019-07-04 09:36:19 +00:00
imgtec arch/mips: Fix <arch/mmio.h> prototypes 2019-03-22 12:18:41 +00:00
intel soc/intel/icelake: Use SA_DEV_ROOT instead of PCH_DEV_PMC 2019-07-07 07:52:30 +00:00
mediatek mediatek/mt8183: Enable RTC eosc calibration feature to save power 2019-07-06 18:20:46 +00:00
nvidia src/soc: Add missing 'include <types.h>' 2019-05-29 20:28:56 +00:00
qualcomm vboot: Use CONFIG_VBOOT_MIGRATE_WORKING_DATA on all platforms 2019-07-03 00:38:41 +00:00
rockchip vboot: Use CONFIG_VBOOT_MIGRATE_WORKING_DATA on all platforms 2019-07-03 00:38:41 +00:00
samsung Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
sifive src/mb/sifive/hifive-unleashed: initialize Gigabit Ethernet Controller 2019-03-18 09:12:46 +00:00
ucb riscv: Add initial support for 32bit boards 2019-02-13 04:49:14 +00:00