coreboot-kgpe-d16/src/soc/intel/icelake
Subrata Banik 1a5d4120e6 soc/intel/icelake: Make use of is_devfn_enabled() function
1. Replace all pcidev_path_on_root() and is_dev_enabled() functions
combination with is_devfn_enabled().
2. Remove unused local variable of device structure type
(struct device *).
3. Replace pcidev_path_on_root() and dev->enabled check with
is_devfn_enabled() call.
4. Leave SATA, eMMC controller FSP UPDs at default state if
controller is not enabled and FSP UPDs are set to disable.

TEST=Able to build and boot without any regression seen on ICLRVP.

Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Change-Id: Id6861af3b5d1ce4f44b6d2109301bd4f5857f324
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55721
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-06-23 08:25:11 +00:00
..
acpi soc/intel: Include gfx.asl from northbridge 2021-03-01 08:32:47 +00:00
bootblock soc/intel: Drop bootblock_cpu_init() function 2021-03-01 19:43:04 +00:00
include/soc soc/intel: Rename and move MISCCFG_GPIO_PM_CONFIG_BITS definition to soc/gpio.h 2021-03-27 04:23:12 +00:00
romstage soc/intel/icelake: Make use of is_devfn_enabled() function 2021-06-23 08:25:11 +00:00
acpi.c ACPI: Add acpi_reset_gnvs_for_wake() 2021-02-16 09:28:42 +00:00
chip.c soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
chip.h soc/intel/{cannonlake,icelake}: Drop unhooked SendVrMbxCmd 2021-04-08 06:47:40 +00:00
cpu.c
elog.c
espi.c src: Match array format in function declarations and definitions 2021-05-13 18:34:38 +00:00
finalize.c
fsp_params.c soc/intel/icelake: Make use of is_devfn_enabled() function 2021-06-23 08:25:11 +00:00
gpio.c
gspi.c
i2c.c
Kconfig cpu/x86: Default to PARALLEL_MP selected 2021-06-07 21:02:54 +00:00
lockdown.c
Makefile.inc cpu/x86: Only include smm code if CONFIG_HAVE_SMI_HANDLER=y 2021-05-18 16:54:21 +00:00
me.c
p2sb.c
pmc.c soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
pmutil.c soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
reset.c
sd.c
smihandler.c
spi.c
systemagent.c
uart.c soc/intel/*: drop UART pad configuration from common code 2021-03-12 08:48:03 +00:00