mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
6ea233338e
PD#SWPL-89180 Problem: change the build mode of serial driver Solution: 1. --gki: don't build early console, build uart driver as module, for android gki 2. --gi_user: buildin early console, build uart drvier as module, for android 3. --gki_userdebug: buildin early console, buildin uart driver, for fatloader Verify: sc2 Change-Id: I610c954d7b413265d7aa15f0ee5ca670895bacb5 Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
#
|
|
# Amlogic driver configuration
|
|
#
|
|
|
|
config AMLOGIC_SERIAL_MESON
|
|
tristate "Meson serial port support"
|
|
select SERIAL_CORE
|
|
default n
|
|
help
|
|
This enables the driver for the on-chip UARTs of the Amlogic
|
|
MesonX processors.
|
|
|
|
config AMLOGIC_SERIAL_EARLY_CONSOLE
|
|
bool "Early console on Amlogic Serial port"
|
|
depends on AMLOGIC_SERIAL_MESON
|
|
select SERIAL_EARLYCON
|
|
default n
|
|
help
|
|
Say Y here if you wish to use a Amlogic MesonX UART as the
|
|
system console (the system console is the device which
|
|
receives all kernel messages and warnings and which allows
|
|
logins in single user mode) as /dev/ttyAMLx.
|
|
|
|
config AMLOGIC_SERIAL_MESON_CONSOLE
|
|
bool "Console on Amlogic Serial port"
|
|
depends on AMLOGIC_SERIAL_MESON
|
|
select SERIAL_CORE_CONSOLE
|
|
default n
|
|
help
|
|
Say Y here if you wish to use a Amlogic MesonX UART as the
|
|
system console (the system console is the device which
|
|
receives all kernel messages and warnings and which allows
|
|
logins in single user mode) as /dev/ttyAMLx.
|