coreboot/src/southbridge
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
..
amd sb/amd/cimx/sb800: Drop dead code 2020-07-10 23:58:24 +00:00
intel sb/intel/lynxpoint: Add PCH platform type function 2020-07-12 10:08:54 +00:00
ricoh/rl5c476 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ti sb/ti/pci7420: Drop dead code 2020-07-09 23:45:38 +00:00