coreboot-kgpe-d16/src
Aaron Durbin fadfc2e2f6 soc/intel/apollolake: handle p2sb quirks
The P2SB device is device 0xd and function 0. If hidden that
causes the latter pci devices on function >= 1 to not be probed
in the kernel.  This is also a problem for coreboot if the P2SB
device is hidden by FSP. That means the coreboot driver won't
be ran. Therefore, provide hide and unhide functions for the
P2SB device.

The other quirk is to allow the GPIO devices to work correctly.
Those devices are ACPI devices. However, their resources are
sub-regions within the P2SB BAR. Sadly, linux doesn't handle
ACPI devices being children of PCI devices. This leads to resource
conflict errors when the P2SB device is visible. For the
time being keep the P2SB device hidden, but also ensure the
resources it is using are accounted for and reserved. The fallout
of that is the PMC and SPI device are no longer probed by the
kernel.

BUG=chrome-os-partner:53017
TEST=Ensured P2SB device is visible and pci resources are allocated
     correctly for the devices.

Change-Id: I24e59bbde74310e1ce8425b344a3ad0b88702153
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/15530
Tested-by: build bot (Jenkins)
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2016-07-02 03:22:32 +02:00
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch acpi_device: Have acpi_device_scope() use a separate buffer 2016-07-02 01:20:18 +02:00
commonlib region: Add writeat and eraseat support 2016-06-24 20:48:12 +02:00
console console/post: be explicit about conditional cmos_post_log() compiling 2016-05-25 18:04:11 +02:00
cpu AMD k8 fam10: Refactor S3 recovery 2016-06-29 07:33:58 +02:00
device device: i2c: Add support for I2C bus operations 2016-06-09 17:05:40 +02:00
drivers drivers/generic/max98357a: Fix naming and ACPI path handling 2016-07-02 01:19:44 +02:00
ec ec/google: Add support for the EC 'get time' function 2016-06-24 20:22:52 +02:00
include gpio: Add support for translating gpio_t into ACPI pin 2016-07-02 01:18:53 +02:00
lib gpio: Add support for translating gpio_t into ACPI pin 2016-07-02 01:18:53 +02:00
mainboard amd/olivehillplus: Fix PCIe lane number comments. 2016-07-02 02:45:40 +02:00
northbridge intel/i945: Use common ACPI S3 recovery 2016-06-26 14:03:02 +02:00
soc soc/intel/apollolake: handle p2sb quirks 2016-07-02 03:22:32 +02:00
southbridge intel romstage: Use run_ramstage() 2016-06-29 07:32:43 +02:00
superio sio/winbond/w83667hg-a: Add pinmux defines for UART B 2016-05-29 19:34:54 +02:00
vendorcode AGESA boards: Fix split to romstage and ramstage 2016-07-01 21:05:47 +02:00
Kconfig Kconfig: Show DEBUG_BOOT_STATE in the Debug menu 2016-07-01 21:33:36 +02:00