summaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc/Kconfig
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-14 18:37:04 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-16 09:28:15 +1100
commit7d3d897a4697e4ff746e5e82f116b2346ed28150 (patch)
tree740b5a83f9d354edf255f44a6072a47ec1ff7ba0 /drivers/tty/hvc/Kconfig
parentba7a4822b48fbc7afd6b567c18e316a03f46684d (diff)
downloadblackbird-op-linux-7d3d897a4697e4ff746e5e82f116b2346ed28150.tar.gz
blackbird-op-linux-7d3d897a4697e4ff746e5e82f116b2346ed28150.zip
powerpc/hvc_udbg: Don't crash when udbg_putc is NULL
Also while at it, add some help text indicating why you shouldn't enable that driver under normal circumstances Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/tty/hvc/Kconfig')
-rw-r--r--drivers/tty/hvc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/tty/hvc/Kconfig b/drivers/tty/hvc/Kconfig
index 8ea7f078b233..48cb8d3d1758 100644
--- a/drivers/tty/hvc/Kconfig
+++ b/drivers/tty/hvc/Kconfig
@@ -71,6 +71,10 @@ config HVC_UDBG
depends on PPC && EXPERIMENTAL
select HVC_DRIVER
default n
+ help
+ This is meant to be used during HW bring up or debugging when
+ no other console mechanism exist but udbg, to get you a quick
+ console for userspace. Do NOT enable in production kernels.
config HVC_DCC
bool "ARM JTAG DCC console"
OpenPOWER on IntegriCloud