From b81f362e58edf9245120f639ef3e1dfb57dc46f2 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Tue, 21 May 2024 12:03:06 -0400 Subject: [PATCH] g12: Set console/baud rate conditionally Change-Id: Ib063dd6ee5f8bd5beed9cf290152d72ab1db67e9 --- BoardConfigCommon.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.20.1