aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/serial/objects.mk
diff options
context:
space:
mode:
authorKautuk Consul <kconsul@ventanamicro.com>2022-09-12 16:22:53 +0530
committerAnup Patel <anup@brainfault.org>2022-09-13 18:24:42 +0530
commit7f09fba86e439808e0b40bdf536937c42e1ea2c9 (patch)
treef3197b83a54fb67ee9f6143aca28abb563b8f887 /lib/utils/serial/objects.mk
parent49372f2691a006d5a8d424b5a90be23539b06067 (diff)
downloadopensbi-7f09fba86e439808e0b40bdf536937c42e1ea2c9.zip
opensbi-7f09fba86e439808e0b40bdf536937c42e1ea2c9.tar.gz
opensbi-7f09fba86e439808e0b40bdf536937c42e1ea2c9.tar.bz2
lib: utils/serial: add semihosting support
We add RISC-V semihosting based serial console for JTAG based early debugging. The RISC-V semihosting specification is available at: https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc Signed-off-by: Anup Patel <apatel@ventanamicro.com> Signed-off-by: Kautuk Consul <kconsul@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/serial/objects.mk')
-rw-r--r--lib/utils/serial/objects.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/serial/objects.mk b/lib/utils/serial/objects.mk
index efb1d9e..98f3f9a 100644
--- a/lib/utils/serial/objects.mk
+++ b/lib/utils/serial/objects.mk
@@ -41,3 +41,4 @@ libsbiutils-objs-$(CONFIG_SERIAL_SIFIVE) += serial/sifive-uart.o
libsbiutils-objs-$(CONFIG_SERIAL_LITEX) += serial/litex-uart.o
libsbiutils-objs-$(CONFIG_SERIAL_UART8250) += serial/uart8250.o
libsbiutils-objs-$(CONFIG_SERIAL_XILINX_UARTLITE) += serial/xlnx-uartlite.o
+libsbiutils-objs-$(CONFIG_SERIAL_SEMIHOSTING) += serial/semihosting.o