From d749a663c6e936b8016e72c834497919bc468c84 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 f4cce5cb727e..f33579ff5d09 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -377,6 +377,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_8250_DW=y CONFIG_SERIAL_OF_PLATFORM=y diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index 75aeae3aa50a..1af299c2f9c4 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -364,6 +364,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