From 894e3a9ec807661a99dff426b3e07188d3507d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Thu, 19 Apr 2018 16:23:54 +0200 Subject: drivers/uart: Add a driver for SiFive's UART MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/25768 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/drivers/uart/Makefile.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/drivers/uart/Makefile.inc') 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 -- cgit v1.2.3