serial: Kconfig: Add separate console Kconfig for msm_geni_serial
Add a separate Kconfig item for console functionality of the
msm_geni_serial.
Change-Id: I6f06ee32d09728b855076a1ccdae9dbbb2fd0a84
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index a9ded51..bac9975 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1079,6 +1079,12 @@
hardware.
The driver supports console and High speed UART functions.
+config SERIAL_MSM_GENI_CONSOLE
+ tristate "MSM on-chip GENI HW based console support"
+ depends on SERIAL_MSM_GENI=y
+ select SERIAL_CORE_CONSOLE
+ select SERIAL_EARLYCON
+
config SERIAL_MSM_CONSOLE
bool "MSM serial console support"
depends on SERIAL_MSM=y