summaryrefslogtreecommitdiff
path: root/src/device/pci_early.c
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-11-24 20:43:37 +0530
committerSubrata Banik <subratabanik@google.com>2022-12-02 07:51:42 +0000
commit5214c4091f2c747616873f37c086dbd57387f6a0 (patch)
tree0d0a36b189b7ec2241822488beea6299964c2b72 /src/device/pci_early.c
parentbed82b0c40b62736323a26a36a114b39c3c77a45 (diff)
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>
Diffstat (limited to 'src/device/pci_early.c')
0 files changed, 0 insertions, 0 deletions