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 <ronak.kanabar@intel.com>
Reviewed-on: https://review.coreboot.org/c/31375
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Ronak Kanabar 2019-02-12 22:52:01 +05:30 committed by Patrick Georgi
parent f1690f0ec1
commit 3bb8c244f2
1 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
dev->enabled = 0; dev->enabled = 0;
params->XdciEnable = dev->enabled; params->XdciEnable = dev->enabled;
/* Set Debug serial port */
params->SerialIoDebugUartNumber = CONFIG_UART_FOR_CONSOLE;
/* Enable CNVi Wifi if enabled in device tree */ /* Enable CNVi Wifi if enabled in device tree */
dev = dev_find_slot(0, PCH_DEVFN_CNViWIFI); dev = dev_find_slot(0, PCH_DEVFN_CNViWIFI);
params->PchCnviMode = dev->enabled; params->PchCnviMode = dev->enabled;