]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/tty/serial/Kconfig
tty/serial: add arm/arm64 semihosting earlycon
[mirror_ubuntu-artful-kernel.git] / drivers / tty / serial / Kconfig
index 4290d05875b12d343cb38e7c2d14c75060d2fc51..988fa2b6243b3d5245629dc3c27a158ef91ceaf3 100644 (file)
@@ -73,6 +73,16 @@ config SERIAL_AMBA_PL011_CONSOLE
          your boot loader (lilo or loadlin) about how to pass options to the
          kernel at boot time.)
 
+config SERIAL_EARLYCON_ARM_SEMIHOST
+       bool "Early console using ARM semihosting"
+       depends on ARM64 || ARM
+       select SERIAL_EARLYCON
+       help
+         Support for early debug console using ARM semihosting. This enables
+         the console before standard serial driver is probed. This is enabled
+         with "earlycon=smh" on the kernel command line. The console is
+         enabled when early_param is processed.
+
 config SERIAL_SB1250_DUART
        tristate "BCM1xxx on-chip DUART serial support"
        depends on SIBYTE_SB1xxx_SOC=y