g12: Allow including console support
authorNolen Johnson <johnsonnolen@gmail.com>
Wed, 8 May 2024 23:31:50 +0000 (19:31 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Wed, 8 May 2024 23:31:50 +0000 (19:31 -0400)
* For devkits.

Change-Id: Id7d9fa943930f78768f752295f16880ae0ffe0b7

BoardConfigCommon.mk

index 4d7417f3aa3ad6456f729f05d8b807e2b0e7c047..ed6d4abcf641473d7b4ed93adc411c809c0348c7 100644 (file)
@@ -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