coreboot-kgpe-d16/src
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
..
acpi arch/x86/acpi: Add code for KEY_MENU 2022-02-18 20:18:41 +00:00
arch arch/x86/id.S: Fix building with clang 2022-02-15 23:36:33 +00:00
commonlib compiler.h: Define a __fallthrough statement 2022-02-16 21:28:09 +00:00
console Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
cpu cpu/x86/lapic: Fix SMP=n case with LEGACY_SMP_INIT 2022-02-11 13:53:56 +00:00
device device: Add support for PCIe Resizable BARs 2022-02-16 20:19:07 +00:00
drivers drivers/fsp/fsp2_0: Rework FSP Notify Phase API configs 2022-02-18 20:21:45 +00:00
ec arch/x86/acpi: Add code for KEY_MENU 2022-02-18 20:18:41 +00:00
include arch/x86/acpi: Add code for KEY_MENU 2022-02-18 20:18:41 +00:00
lib Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
mainboard mb/google/brya/redrix{4es}: Disable unused USB2/TCSS ports 2022-02-18 20:18:58 +00:00
northbridge Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
security treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
soc soc/intel/common/cse: Add finalize operation for CSE 2022-02-18 20:22:23 +00:00
southbridge Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
superio Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
vendorcode vendorcode/intel/fsp: Update FSP header file for Alder Lake N FSP v2503_00 2022-02-16 20:17:46 +00:00
Kconfig