coreboot/src/soc/intel
Subrata Banik 90e318bba4 soc/intel/common/cse: Add finalize operation for CSE
This patch implements the required operations to perform prior to
booting to OS using coreboot native driver when platform decides
to skip FSP notify APIs i.e. Ready to Boot and End Of Firmware.

BUG=b:211954778
TEST=Able to build brya with these changes and coreboot log with this
code change as below when ADL SoC selects all required configs:

BS: BS_PAYLOAD_LOAD run times (exec / console): 135 / 62 ms
coreboot skipped calling FSP notify phase: 00000040.
coreboot skipped calling FSP notify phase: 000000f0.
BS: BS_PAYLOAD_LOAD exit times (exec / console): 0 / 11 ms
Finalizing chipset.
apm_control: Finalizing SMM.
APMC done.
HECI: Sending End-of-Post
CSE: EOP requested action: continue boot
CSE EOP successful, continuing boot
HECI: CSE device 16.1 is disabled
HECI: CSE device 16.4 is disabled
HECI: CSE device 16.5 is disabled
BS: BS_PAYLOAD_BOOT entry times (exec / console): 9 / 27 ms

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I70bde33f77026e8be165ff082defe3cab6686ec7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60405
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2022-02-18 20:22:23 +00:00
..
alderlake drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
apollolake drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
baytrail cpu/x86/lapic: Move LAPIC configuration to MP init 2022-02-05 07:59:04 +00:00
braswell treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
broadwell treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
cannonlake drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
common soc/intel/common/cse: Add finalize operation for CSE 2022-02-18 20:22:23 +00:00
denverton_ns drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
elkhartlake drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
icelake drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
jasperlake drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
quark drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
skylake drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
tigerlake drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
xeon_sp drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
Kconfig
Makefile.inc soc/intel/common/cse: Add support for stitching CSE components 2021-10-19 16:09:08 +00:00