From 275854baeeec02e37c8f8bf718f94090f2a531ff Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 4 Aug 2015 12:33:40 -0600 Subject: efi: Add a serial driver Add a serial driver which makes use of EFI's console in/out service. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Tested on Intel Crown Bay and QEMU Tested-by: Bin Meng --- drivers/serial/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'drivers/serial/Kconfig') 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 -- cgit v1.2.1