coreboot-kgpe-d16/src/soc/intel/apollolake
Werner Zeh de3ace0629 intel/apollolake: Add IPU to disable_dev function
The SoC has an Image Processing Unit which is located on PCI 00:03.0.
There is a corresponding parameter for FSP which handles
enabling/disabling of this functionality (IpuEn). Add this device to
the disable_dev() function of the chip so that if this device is
disabled in devicetree the matching FSP parameter will be disabled as
well. As this parameter is only valid for Apollo Lake, use the config
switch CONFIG_SOC_INTEL_GLK to disable this code if compiled not for
Apollo Lake. As this issue is regarding a missing structure member,
this check needs to be done on preprocessor level and not at runtime.

Test=Verified this function on mc_apl2.

Change-Id: I75444bf483de32ba641f76ca50e9744fdce2e726
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/30992
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2019-01-28 13:44:10 +00:00
..
acpi soc/intel/common/dptf: Make CPU address a define 2018-12-04 10:19:04 +00:00
bootblock soc/intel/common/block: Move tco common functions into block/smbus 2019-01-10 12:18:34 +00:00
include/soc intel/apollolake: Add IPU to disable_dev function 2019-01-28 13:44:10 +00:00
acpi.c soc/apollolake: Generate DMAR table 2019-01-28 13:42:32 +00:00
car.c src: Remove unneeded include "{arch,cpu}/cpu.h" 2018-11-12 09:22:18 +00:00
chip.c intel/apollolake: Add IPU to disable_dev function 2019-01-28 13:44:10 +00:00
chip.h soc/intel/apollolake: Add option to disable xHCI Link Compliance Mode 2019-01-14 11:58:38 +00:00
cpu.c soc/intel/apollolake: Add Kconfig switch to enable minimum clock ratio 2018-11-23 11:28:19 +00:00
cse.c soc/intel: Clean mess around UART_DEBUG 2019-01-09 22:15:48 +00:00
elog.c soc/intel/common/block: Move tco common functions into block/smbus 2019-01-10 12:18:34 +00:00
fspcar.c soc/intel: Consolidate FSP CAR setup and teardown code 2018-10-25 09:26:50 +00:00
glk_page_map.txt soc/intel/apollolake: Add Page table mapping for System Memory 2018-06-03 16:06:46 +00:00
gpio_apl.c soc/intel/common/block/gpio: Change group offset calculation 2018-02-16 03:59:29 +00:00
gpio_glk.c soc/intel/apollolake: Add missing entries to pmc_to_gpio_route for GLK 2018-06-06 00:35:19 +00:00
graphics.c soc/intel/apl: Enable graphics with libgfxinit 2018-12-03 14:47:50 +00:00
gspi.c soc/intel/common/block: Move gspi common functions into block/gspi 2018-06-06 06:25:50 +00:00
heci.c
i2c.c soc/intel/common/block: Move i2c common functions into block/i2c 2018-06-06 06:26:11 +00:00
Kconfig soc/intel/{apl,skl}: Drop redundant select RTC 2019-01-28 10:45:46 +00:00
lpc.c soc: Remove useless include <device/pci_ids.h> 2018-12-19 05:20:49 +00:00
Makefile.inc soc/intel/apl: Hook microcode updates up 2019-01-15 09:19:11 +00:00
meminit.c soc/intel/apollolake: Revert the w/a nWR_24 setting 2018-10-31 05:38:42 +00:00
meminit_util_apl.c soc/intel/apollolake: add new dimm info saving API 2018-08-08 16:43:50 +00:00
meminit_util_glk.c soc/intel/apollolake: add new dimm info saving API 2018-08-08 16:43:50 +00:00
memmap.c soc/intel: Get rid of device_t 2018-12-20 22:16:24 +00:00
mmap_boot.c soc/intel/apl: Warn if CBFS is outside the memory mapped area 2018-12-06 12:06:16 +00:00
nhlt.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
pdpt.c soc/intel/apollolake: enable cache-as-ram paging for glk 2018-04-27 18:48:10 +00:00
pmc.c soc/intel/apollolake: Remove call to pmc_fixup_power_state 2018-06-28 04:59:53 +00:00
pmutil.c buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
pnpconfig.c soc/intel/apollolake: Add PNP config 2017-12-02 05:26:05 +00:00
pt.c soc/intel/apollolake: Add Page table mapping for System Memory 2018-06-03 16:06:46 +00:00
reset.c intel: Use CF9 reset (part 2) 2018-10-22 08:35:32 +00:00
romstage.c soc/intel: Clean mess around UART_DEBUG 2019-01-09 22:15:48 +00:00
sd.c
smihandler.c src: Use of device_t is deprecated 2018-06-14 09:29:31 +00:00
spi.c soc/intel/common/block: Move gspi common functions into block/gspi 2018-06-06 06:25:50 +00:00
systemagent.c intel/apollolake: Add fixed resources for VTd to system resources 2019-01-28 13:42:53 +00:00
uart.c soc/intel/common/block: Move common uart function to block/uart 2018-08-20 15:51:48 +00:00
xdci.c soc/intel/apollolake: Limit xDCI feature when VBOOT is enabled 2018-03-28 06:43:40 +00:00