coreboot/src
Subrata Banik 5214c4091f soc/intel/cmn/cse: Send EOP cmd from .final aka cse_final()
This patch refactors common code to allow cse_final() function to send
EOP cmd if the SoC user selects `SOC_INTEL_CSE_SET_EOP` kconfig.

This patch helps cse_final_ready_to_boot() and
cse_final_end_of_firmware() function for being meaningful with its
operation and let cse_final() being that outer layer to perform three
operations based on the selected kconfig.

1. send cse eop command
2. perform cse_final_ready_to_boot() operations
3. perform cse_final_end_of_firmware() operations

Additionally, ensures the platform that choose to send EOP late
(like JSL and TGL) is not being impacted due to this code refactoring
hence, skip calling into CSE.final if SoC selects
`SOC_INTEL_CSE_SEND_EOP_LATE` config.

BUG=b:260041679
TEST=Able to send EOP command successfully for Google/Taeko.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I412291c9378011509d3825f9b01e81bfced53303
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69975
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-12-02 07:51:42 +00:00
..
acpi acpi: Create a common method to add DmaProperty 2022-11-29 19:48:27 +00:00
arch arch/x86: Buildtest clang targets with VBOOT_STARTS_BEFORE_BOOTBLOCK 2022-11-30 16:52:23 +00:00
commonlib commonlib/fsp_relocate.c: Fix cbfstool build on 32-bit host 2022-11-25 13:53:31 +00:00
console console/post.c: Sort includes 2022-10-27 15:46:39 +00:00
cpu cpu/intel/model_206ax: Remove fake lapic device 2022-12-01 10:27:31 +00:00
device device/mdio: Provide helper functions for read and write 2022-11-24 05:58:28 +00:00
drivers /: Remove extra space after comma 2022-11-30 03:07:23 +00:00
ec vboot: Allow for comparison of hash without zero-padding 2022-12-01 22:12:16 +00:00
include acpi: Create a common method to add DmaProperty 2022-11-29 19:48:27 +00:00
lib /: Remove extra space after comma 2022-11-30 03:07:23 +00:00
mainboard mb/google/brya/var/anahera: Adjust I2C5 timing for touchpad 2022-12-02 05:16:51 +00:00
northbridge nb/intel/x4x: Hook up PCI domain and CPU bus ops to devicetree 2022-12-01 10:28:10 +00:00
sbom Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00
security vboot: Allow for comparison of hash without zero-padding 2022-12-01 22:12:16 +00:00
soc soc/intel/cmn/cse: Send EOP cmd from .final aka cse_final() 2022-12-02 07:51:42 +00:00
southbridge /: Remove extra space after comma 2022-11-30 03:07:23 +00:00
superio src/superio: Remove unnecessary space after casts 2022-11-21 15:03:50 +00:00
vendorcode vc/intel/edk2/edk2-stable202111: Safe guard enum macro in SmBios.h 2022-11-26 23:45:26 +00:00
Kconfig build: List all Kconfigs in CBFS config file, compress it 2022-11-18 17:19:44 +00:00