From b7fda274272d08a29b62b8d18754898b28f69be4 Mon Sep 17 00:00:00 2001 From: Tw Date: Thu, 3 Jan 2019 10:48:16 +0800 Subject: [PATCH] config: fix no serial output with SBL on UP2 SBL doesn't support 40-pin header for now, so the serial PCI device(0:18:1) on it doesn't work. Let's just workaround this by changing hv's default serial output device to 0:18:0. In the future, we'd rather change it back if SBL supports it. This change is only for SBL, for UEFI, now we offer serial configuration through command line parameter(vuart=...). Tracked-On: #1995 Signed-off-by: Tw Reviewed-by: Binbin Wu --- hypervisor/arch/x86/configs/up2.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/arch/x86/configs/up2.config b/hypervisor/arch/x86/configs/up2.config index 5bfe7fad3..8c6c001af 100644 --- a/hypervisor/arch/x86/configs/up2.config +++ b/hypervisor/arch/x86/configs/up2.config @@ -1,5 +1,5 @@ # Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) CONFIG_BOARD="UP2" CONFIG_SERIAL_PCI=y -CONFIG_SERIAL_PCI_BDF="0:18.1" +CONFIG_SERIAL_PCI_BDF="0:18.0" CONFIG_COM_IRQ=6