diff options
author | Rob Herring <robh@kernel.org> | 2014-04-18 18:19:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-24 19:32:27 -0400 |
commit | d50d7269ebcb438afa346cdffce0f4e2a1b9e831 (patch) | |
tree | 7095e7a34467771f9b0e3c2f113cbeb6e7ff5145 /drivers/tty/serial/Kconfig | |
parent | 0d3c673e7881e691991b2a4745bd4f149603baa2 (diff) |
tty/serial: add arm/arm64 semihosting earlycon
Add earlycon support for the arm/arm64 semihosting debug serial
interface. This allows enabling a debug console when early_params are
processed. This is based on the arm64 earlyprintk smh support and is
intended to replace it.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r-- | drivers/tty/serial/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 4290d05875b1..988fa2b6243b 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
@@ -73,6 +73,16 @@ config SERIAL_AMBA_PL011_CONSOLE | |||
73 | your boot loader (lilo or loadlin) about how to pass options to the | 73 | your boot loader (lilo or loadlin) about how to pass options to the |
74 | kernel at boot time.) | 74 | kernel at boot time.) |
75 | 75 | ||
76 | config SERIAL_EARLYCON_ARM_SEMIHOST | ||
77 | bool "Early console using ARM semihosting" | ||
78 | depends on ARM64 || ARM | ||
79 | select SERIAL_EARLYCON | ||
80 | help | ||
81 | Support for early debug console using ARM semihosting. This enables | ||
82 | the console before standard serial driver is probed. This is enabled | ||
83 | with "earlycon=smh" on the kernel command line. The console is | ||
84 | enabled when early_param is processed. | ||
85 | |||
76 | config SERIAL_SB1250_DUART | 86 | config SERIAL_SB1250_DUART |
77 | tristate "BCM1xxx on-chip DUART serial support" | 87 | tristate "BCM1xxx on-chip DUART serial support" |
78 | depends on SIBYTE_SB1xxx_SOC=y | 88 | depends on SIBYTE_SB1xxx_SOC=y |