From 5b41969878f2d495ad367e257adbc985521cae8d Mon Sep 17 00:00:00 2001 From: Xiangyang Wu Date: Tue, 30 Nov 2021 09:49:15 +0800 Subject: [PATCH] config: update serial configuration for Service VM The CONFIG_SERIAL_8250_NR_UARTS should be increased to at least 48, and CONFIG_SERIAL_8250_RUNTIME_UARTS should be increased to at least 32 in order to support multi port serial cards out of the box. This will cover at least the situation, where two 8 port cards are used simultaneously and there is still some room for internal ports or the other card or vUARTs. Signed-off-by: Xiangyang Wu --- kernel_config_service_vm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel_config_service_vm b/kernel_config_service_vm index 7ecbb0435670..f7afe7b8afd0 100644 --- a/kernel_config_service_vm +++ b/kernel_config_service_vm @@ -421,7 +421,8 @@ CONFIG_INPUT_SOC_BUTTON_ARRAY=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=32 +CONFIG_SERIAL_8250_NR_UARTS=48 +CONFIG_SERIAL_8250_RUNTIME_UARTS=32 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_SHARE_IRQ=y