From 3bb8c244f25e0f390f463a42ac0ec65a3a595e30 Mon Sep 17 00:00:00 2001 From: Ronak Kanabar Date: Tue, 12 Feb 2019 22:52:01 +0530 Subject: [PATCH] soc/intel/cannonlake: Configure serial debug uart Set SerialIoDebugUartNumber to CONFIG_UART_FOR_CONSOLE SerialIoDebugUartNumber UPD use to select UART Number for Debug Purpose The default value of SerialIoDebugUartNumber is 2 by default it selects UART 2 so it needs to be initialized as per board config BUG=b:123702398 Change-Id: I91df4bb756e8ea86db112f1cc28687f48b2c0525 Signed-off-by: Ronak Kanabar Reviewed-on: https://review.coreboot.org/c/31375 Reviewed-by: Furquan Shaikh Reviewed-by: Rizwan Qureshi Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/intel/cannonlake/fsp_params.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c index 866d9c8e92..c276c862e8 100644 --- a/src/soc/intel/cannonlake/fsp_params.c +++ b/src/soc/intel/cannonlake/fsp_params.c @@ -163,6 +163,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd) dev->enabled = 0; params->XdciEnable = dev->enabled; + /* Set Debug serial port */ + params->SerialIoDebugUartNumber = CONFIG_UART_FOR_CONSOLE; + /* Enable CNVi Wifi if enabled in device tree */ dev = dev_find_slot(0, PCH_DEVFN_CNViWIFI); params->PchCnviMode = dev->enabled;