build.config: Add support for KERNEL_CMDLINE_CONSOLE_AUTO
By default, boot.img with console support should created. If a different console or disabled console is desired, then parent build.config should opt-out by setting KERNEL_CMDLINE_CONSOLE_AUTO=0. This is opt-out rather than opt-in to support developer and automation workflows. Change-Id: I2b41cb1416558987515ea433eb24ceeda719f474 Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
parent
08fef917c3
commit
731fec20fd
@ -15,6 +15,10 @@ BOOT_IMAGE_HEADER_VERSION=3
|
||||
BASE_ADDRESS=0x80000000
|
||||
PAGE_SIZE=4096
|
||||
|
||||
if [ "${KERNEL_CMDLINE_CONSOLE_AUTO}" != "0" ]; then
|
||||
KERNEL_VENDOR_CMDLINE+=' console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x0098C000'
|
||||
fi
|
||||
|
||||
################################################################################
|
||||
## Inheriting MSM configs
|
||||
. ${KERNEL_DIR}/build.config.msm.common
|
||||
|
@ -14,6 +14,10 @@ BASE_ADDRESS=0x80000000
|
||||
PAGE_SIZE=4096
|
||||
[ -z "${DT_OVERLAY_SUPPORT}" ] && DT_OVERLAY_SUPPORT=1
|
||||
|
||||
if [ "${KERNEL_CMDLINE_CONSOLE_AUTO}" != "0" ]; then
|
||||
KERNEL_VENDOR_CMDLINE+=' console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x0099C000'
|
||||
fi
|
||||
|
||||
################################################################################
|
||||
## Inheriting MSM configs
|
||||
. ${KERNEL_DIR}/build.config.msm.common
|
||||
|
Loading…
Reference in New Issue
Block a user