coreboot-kgpe-d16/src/soc/intel
Subrata Banik 3710e9972b soc/intel/common: Helper function to check CSE device devfn status
This patch creates a helper function in cse common code block to check
the status of any CSE `devfn`. Example: CSE, CSE_2, IDER, KT, CSE_3 and
CSE_4.

Currently cse common code is only able to read the device state of
`PCH_DEVFN_CSE` CSE device alone.

Additionally, print `slot` and 'func' number of CSE devices in case
the device is either disable or hidden.

BUG=b:200644229
TEST=Able to build and boot ADLRVP-P with this patch where the serial
message listed the CSE devices that are disabled in the device tree
as below:

HECI: CSE device 16.01 is disabled
HECI: CSE device 16.04 is disabled
HECI: CSE device 16.05 is disabled

Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Change-Id: I208b07e89e3aa9d682837380809fbff01ea225b0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58064
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2021-10-06 19:03:55 +00:00
..
alderlake src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
apollolake src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
baytrail src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
braswell src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
broadwell src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
cannonlake src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
common soc/intel/common: Helper function to check CSE device devfn status 2021-10-06 19:03:55 +00:00
denverton_ns src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
elkhartlake soc/intel: Drop unnecessary select REG_SCRIPT 2021-09-29 21:37:35 +00:00
icelake soc/intel: Drop unnecessary select REG_SCRIPT 2021-09-29 21:37:35 +00:00
jasperlake soc/intel: Drop unnecessary select REG_SCRIPT 2021-09-29 21:37:35 +00:00
quark src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
skylake src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
tigerlake src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
xeon_sp src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
Kconfig