diff options
author | Subrata Banik <subratabanik@google.com> | 2024-08-19 12:06:30 +0000 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-08-22 09:37:04 +0000 |
commit | 4d00a5facc3962305d11297db9dc1c53da44f78e (patch) | |
tree | e2f294860ccd3a7c05c87337d9b3b91e9392a87d /src | |
parent | cf2bf984f022ffa57da9ca2eb2f702d4bfb5cea3 (diff) |
soc/intel/alderlake: Preserve eSOL for late CSE sync
This patch prevents the eSOL screen from being wiped out on Alder Lake
platforms that use late CSE sync (from ramstage). This allows the eSOL
text message to remain visible until ramstage.
Currently, the eSOL only functions during the early boot phase (until
romstage), so platforms like Nissa/Nirul and Trulo, which use CSE sync
from ramstage, cannot display any eSOL messages to the user.
A future patch will ensure the eSOL remains relevant for CSE sync in
ramstage, but this patch is necessary to avoid tearing down the IGD text
mode when exiting romstage.
BUG=b:359814797
TEST=eSOL text mode is not torn down when exiting romstage.
Change-Id: I81548b4057ab95ce3da0dbc69703977baf0581f1
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83974
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Dinesh Gehlot <digehlot@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/alderlake/romstage/romstage.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/intel/alderlake/romstage/romstage.c b/src/soc/intel/alderlake/romstage/romstage.c index 5ca16aefd8..f0c039ee6c 100644 --- a/src/soc/intel/alderlake/romstage/romstage.c +++ b/src/soc/intel/alderlake/romstage/romstage.c @@ -227,7 +227,9 @@ void mainboard_romstage_entry(void) * - Allow PEIM graphics driver to smoothly execute in ramstage if * RUN_FSP_GOP is selected */ - early_graphics_stop(); + if (!CONFIG(SOC_INTEL_CSE_LITE_SYNC_IN_RAMSTAGE)) + /* Keep eSOL active if CSE sync in ramstage config is enabled */ + early_graphics_stop(); if (CONFIG(ENABLE_EARLY_DMA_PROTECTION)) vtd_enable_dma_protection(); |