aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/Makefile
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-09-12 10:56:09 -0500
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-10-07 16:08:23 +0800
commit41f7be733444b9221c828ee9c7c22cddfac5a28c (patch)
treec1c7d9166ae8d2ede7fa861d08b56be6ef459951 /drivers/serial/Makefile
parent425c08faa8a2d6af5d9c1d83a97572f6401137bf (diff)
downloadu-boot-41f7be733444b9221c828ee9c7c22cddfac5a28c.zip
u-boot-41f7be733444b9221c828ee9c7c22cddfac5a28c.tar.gz
u-boot-41f7be733444b9221c828ee9c7c22cddfac5a28c.tar.bz2
serial: Add a debug console using the RISC-V SBI interface
The RISC-V SBI interface v0.1 provides a function for printing a character to the console. Even though SBI v0.1 functions are deprecated, the SBI console is quite useful for early debugging, because it works without any dcache, memory, or MMIO access in S mode. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/serial/Makefile')
-rw-r--r--drivers/serial/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index 3cbea81..4edd2aa 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -36,6 +36,7 @@ obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
obj-$(CONFIG_BCM6345_SERIAL) += serial_bcm6345.o
obj-$(CONFIG_COREBOOT_SERIAL) += serial_coreboot.o
obj-$(CONFIG_CORTINA_UART) += serial_cortina.o
+obj-$(CONFIG_DEBUG_SBI_CONSOLE) += serial_sbi.o
obj-$(CONFIG_EFI_APP) += serial_efi.o
obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
obj-$(CONFIG_MCFUART) += serial_mcf.o