From ce88d51c722f26f604abdaa4b105d37172ee51ae Mon Sep 17 00:00:00 2001 From: Alistair Delva Date: Fri, 28 Apr 2023 09:52:58 -0700 Subject: [PATCH] ANDROID: GKI: Increase max 8250 uarts Some boards need more than the default maximum of 4 uarts. This has no impact unless 8250.nr_uarts is specified on the cmdline to increase the number of runtime uarts from the GKI default of 0. Bug: 280015873 Signed-off-by: Alistair Delva Change-Id: I5ba4e1dcce4f4e01b7d306fa3ab05319768eef00 --- arch/arm64/configs/gki_defconfig | 1 + arch/x86/configs/gki_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index d82e363ddff8..8fa037f86347 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -373,6 +373,7 @@ CONFIG_SERIAL_8250=y # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set CONFIG_SERIAL_8250_CONSOLE=y # CONFIG_SERIAL_8250_EXAR is not set +CONFIG_SERIAL_8250_NR_UARTS=32 CONFIG_SERIAL_8250_RUNTIME_UARTS=0 CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_AMBA_PL011=y diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index 63419263e5ac..9507ff815d82 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -343,6 +343,7 @@ CONFIG_INPUT_UINPUT=y CONFIG_SERIAL_8250=y # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=32 CONFIG_SERIAL_8250_RUNTIME_UARTS=0 CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_SAMSUNG=y