summaryrefslogtreecommitdiff
path: root/src/drivers/uart/Makefile.inc
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-04-19 16:23:54 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-04-25 11:42:52 +0000
commit894e3a9ec807661a99dff426b3e07188d3507d2e (patch)
tree190e3c125322002b3f441058982217db91b6e5dc /src/drivers/uart/Makefile.inc
parentf35cc4d60ff86f1f0d7a5f423e0a092e9c45990e (diff)
downloadcoreboot-894e3a9ec807661a99dff426b3e07188d3507d2e.tar.xz
drivers/uart: Add a driver for SiFive's UART
This UART is used in the SiFive FU540 SoC, and will probably be used in other SoCs in the future. Change-Id: I915edf39666b7a5f9550e3b7e743e97fe3cacfd3 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/25768 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/drivers/uart/Makefile.inc')
-rw-r--r--src/drivers/uart/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/uart/Makefile.inc b/src/drivers/uart/Makefile.inc
index ebaa5d4a0b..c7aa1ae784 100644
--- a/src/drivers/uart/Makefile.inc
+++ b/src/drivers/uart/Makefile.inc
@@ -42,4 +42,11 @@ ramstage-y += pl011.c
verstage-y += pl011.c
endif
+ifeq ($(CONFIG_DRIVERS_UART_SIFIVE),y)
+bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += sifive.c
+romstage-y += sifive.c
+postcar-y += sifive.c
+ramstage-y += sifive.c
+endif
+
endif