From ef6586e7070b91fea50b595421cbd7676ea30ce1 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Wed, 8 May 2024 19:31:50 -0400 Subject: [PATCH] g12: Allow including console support * For devkits. Change-Id: Id7d9fa943930f78768f752295f16880ae0ffe0b7 --- BoardConfigCommon.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 4d7417f..ed6d4ab 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -17,6 +17,9 @@ DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest.xml ## Kernel BOARD_KERNEL_CMDLINE := androidboot.dynamic_partitions=true androidboot.boot_devices=ffe07000.emmc use_uvm=1 +ifeq ($(WITH_CONSOLE),true) +BOARD_KERNEL_CMDLINE += console=ttyS0,115200 no_console_suspend +endif TARGET_KERNEL_CONFIG := g12a_defconfig TARGET_KERNEL_SOURCE := kernel/amlogic/linux-4.9 TARGET_KERNEL_VARIANT_CONFIG ?= g12a_variant_defconfig -- 2.20.1