diff options
author | Timur Tabi <timur@freescale.com> | 2011-07-08 20:06:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 13:32:56 -0400 |
commit | dcd83aaff1c8cbd5b48c152b559e0af3ea1a7b65 (patch) | |
tree | 536ce3416fd908f0506899b371d86fb21171078c /arch/powerpc/kernel/udbg.c | |
parent | fcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c (diff) |
tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver
The ePAPR embedded hypervisor specification provides an API for "byte
channels", which are serial-like virtual devices for sending and receiving
streams of bytes. This driver provides Linux kernel support for byte
channels via three distinct interfaces:
1) An early-console (udbg) driver. This provides early console output
through a byte channel. The byte channel handle must be specified in a
Kconfig option.
2) A normal console driver. Output is sent to the byte channel designated
for stdout in the device tree. The console driver is for handling kernel
printk calls.
3) A tty driver, which is used to handle user-space input and output. The
byte channel used for the console is designated as the default tty.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/powerpc/kernel/udbg.c')
-rw-r--r-- | arch/powerpc/kernel/udbg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c index faa82c1f3f68..b4607a91d1f4 100644 --- a/arch/powerpc/kernel/udbg.c +++ b/arch/powerpc/kernel/udbg.c | |||
@@ -67,6 +67,8 @@ void __init udbg_early_init(void) | |||
67 | udbg_init_usbgecko(); | 67 | udbg_init_usbgecko(); |
68 | #elif defined(CONFIG_PPC_EARLY_DEBUG_WSP) | 68 | #elif defined(CONFIG_PPC_EARLY_DEBUG_WSP) |
69 | udbg_init_wsp(); | 69 | udbg_init_wsp(); |
70 | #elif defined(CONFIG_PPC_EARLY_DEBUG_EHV_BC) | ||
71 | udbg_init_ehv_bc(); | ||
70 | #endif | 72 | #endif |
71 | 73 | ||
72 | #ifdef CONFIG_PPC_EARLY_DEBUG | 74 | #ifdef CONFIG_PPC_EARLY_DEBUG |