soc/intel/jasperlake: set SerialIoUartDebugMode to skip Uart Init

Since coreboot is initializing uart for debug logs, fsp should not reinitialize it.
Thus we need to set FSP UPD to skip Uart init in FSP and use settings done by coreboot

BUG=None
BRANCH=None
TEST=FSP is able to push debug logs on UART with this setting

Cq-Depend: TBD
Change-Id: I0fda2ace3b1f63159e9809d6a3044a3bad452f07
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42462
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
This commit is contained in:
Maulik V Vaghela 2020-06-17 17:35:25 +05:30 committed by Patrick Georgi
parent a8b80942a0
commit e927d9b3ad
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
m_cfg->VtdDisable = 0;
m_cfg->SerialIoUartDebugControllerNumber = CONFIG_UART_FOR_CONSOLE;
m_cfg->SerialIoUartDebugMode = config->SerialIoUartMode[CONFIG_UART_FOR_CONSOLE];
/* Display */
m_cfg->DdiPortAConfig = config->DdiPortAConfig;