From a1cb3875e29346e0464106bd29ec8e53aa78f983 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 (cherry picked from commit b81f362e58edf9245120f639ef3e1dfb57dc46f2) --- BoardConfigCommon.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 6df0f6e..0157dff 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 CORE_PARTITIONS := system vendor ADDITIONAL_PARTITIONS := odm product system_ext -- 2.20.1