summaryrefslogtreecommitdiffstats
path: root/drivers/serial/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-04 12:33:40 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 08:44:05 -0600
commit275854baeeec02e37c8f8bf718f94090f2a531ff (patch)
tree9ed2a3e7baf2e3f1f437f0ac5133bc0e5874af64 /drivers/serial/Kconfig
parentf05ad9ba4c22b5c5929406394a0889791c2778da (diff)
downloadtalos-obmc-uboot-275854baeeec02e37c8f8bf718f94090f2a531ff.tar.gz
talos-obmc-uboot-275854baeeec02e37c8f8bf718f94090f2a531ff.zip
efi: Add a serial driver
Add a serial driver which makes use of EFI's console in/out service. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested on Intel Crown Bay and QEMU Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r--drivers/serial/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 078246d22f..b5a91b707e 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -44,6 +44,15 @@ config DEBUG_UART_NS16550
will need to provide parameters to make this work. The driver will
be available until the real driver model serial is running.
+config DEBUG_EFI_CONSOLE
+ bool "EFI"
+ depends on EFI_APP
+ help
+ Select this to enable a debug console which calls back to EFI to
+ output to the console. This can be useful for early debugging of
+ U-Boot when running on top of EFI (Extensive Firmware Interface).
+ This is a type of BIOS used by PCs.
+
endchoice
config DEBUG_UART_BASE
OpenPOWER on IntegriCloud