coreboot-kgpe-d16/src/southbridge/intel/lynxpoint
Angel Pons 317399366e sb/intel/lynxpoint: Add PCH platform type function
Current code only cares whether the PCH is LP or not. However, MRC wants
to differentiate between desktop and non-LP mobile platforms as well. As
the PCH is soldered onto the mainboard, add a facility to retrieve which
platform coreboot is running on by checking the PCH's LPC device ID. The
only user of the `pch_silicon_type` function is the `pch_is_lp` function
so replace the former with the new `get_pch_platform_type` function. The
function needs to be defined in both romstage and ramstage where PCI ops
have different signatures, hence the two copies.

Change-Id: Ib6276e0069eaa069a365faf6ae02dd934307d36c
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43123
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-07-12 10:08:54 +00:00
..
acpi sb/intel: Factor out irqlinks.asl 2020-07-08 22:12:44 +00:00
acpi.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
azalia.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
bootblock.c sb/intel/lynxpoint: Use common early SPI code 2020-06-27 17:30:48 +00:00
chip.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
early_me.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
early_pch.c sb/intel/lynxpoint: Add PCH platform type function 2020-07-12 10:08:54 +00:00
early_smbus.c device/smbus_host: Declare common early SMBus prototypes 2020-06-22 11:53:31 +00:00
early_usb.c sb/intel/lynxpoint: Restore lost PCI_COMMAND_MASTER bits 2020-06-01 17:05:58 +00:00
elog.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
hda_verb.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
hda_verb.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig ACPI: Remove Kconfig COMMON_FADT 2020-06-10 12:53:08 +00:00
lp_gpio.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lp_gpio.h sb/intel/lynxpoint/lp_gpio.h: Include stdint.h 2020-05-17 20:19:16 +00:00
lpc.c sb/intel/lynxpoint: Program PM registers directly 2020-07-08 22:26:15 +00:00
Makefile.inc sb/intel/lynxpoint: Drop RCBA reg script mechanism 2020-07-09 16:24:37 +00:00
me.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
me_9.x.c sb/intel/lynxpoint/me_9.x.c: Drop dead code 2020-07-09 23:46:49 +00:00
me_status.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvs.h sb/intel: Add include guards on nvs.h 2020-06-30 09:20:02 +00:00
pch.c sb/intel/lynxpoint: Add PCH platform type function 2020-07-12 10:08:54 +00:00
pch.h sb/intel/lynxpoint: Add PCH platform type function 2020-07-12 10:08:54 +00:00
pcie.c sb/intel/lynxpoint/pcie.c: Drop dead code 2020-07-09 21:20:53 +00:00
pmutil.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sata.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
serialio.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
smbus.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
smi.c ACPI: Replace smm_setup_structures() 2020-06-24 11:49:15 +00:00
smihandler.c ACPI GNVS: Replace uses of smm_get_gnvs() 2020-07-01 05:14:24 +00:00
usb_ehci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usb_xhci.c cpu/x86/smm: Define APM_CNT_ROUTE_ALL_XHCI 2020-06-22 11:45:41 +00:00