From: Nolen Johnson Date: Tue, 21 May 2024 16:03:06 +0000 (-0400) Subject: g12: Set console/baud rate conditionally X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b81f362e58edf9245120f639ef3e1dfb57dc46f2;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12: Set console/baud rate conditionally Change-Id: Ib063dd6ee5f8bd5beed9cf290152d72ab1db67e9 --- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index d6b7229..0891641 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -18,6 +18,10 @@ TARGET_KERNEL_CONFIG := g12a_defconfig TARGET_KERNEL_SOURCE := kernel/amlogic/linux-4.9 TARGET_KERNEL_VARIANT_CONFIG ?= g12a_variant_defconfig +ifeq ($(WITH_CONSOLE),true) +BOARD_KERNEL_CMDLINE += console=ttyS0,115200 no_console_suspend +endif + ## Partitions SSI_PARTITIONS := product system system_ext TREBLE_PARTITIONS := odm vendor