diff options
author | gsomlo <gsomlo@gmail.com> | 2020-12-15 16:11:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 13:11:40 -0800 |
commit | 62bb5daea5ef014616b00a63c106afdd07e68ffd (patch) | |
tree | 66d1d74fd95fa1a6b319ba857d6c3ca4ec434aa5 /machine/minit.c | |
parent | 5c159feca11473822906ec9595f7593aba60222f (diff) | |
download | pk-62bb5daea5ef014616b00a63c106afdd07e68ffd.zip pk-62bb5daea5ef014616b00a63c106afdd07e68ffd.tar.gz pk-62bb5daea5ef014616b00a63c106afdd07e68ffd.tar.bz2 |
Add support for the UART interface on the LiteX SoC (#230)
Tested using the RocketChip CPU option.
(see https://github.com/enjoy-digital/litex)
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Diffstat (limited to 'machine/minit.c')
-rw-r--r-- | machine/minit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/machine/minit.c b/machine/minit.c index f0587cc..2fb67a4 100644 --- a/machine/minit.c +++ b/machine/minit.c @@ -7,6 +7,7 @@ #include "fdt.h" #include "uart.h" #include "uart16550.h" +#include "uart_litex.h" #include "finisher.h" #include "disabled_hart_mask.h" #include "htif.h" @@ -173,6 +174,7 @@ void init_first_hart(uintptr_t hartid, uintptr_t dtb) // Confirm console as early as possible query_uart(dtb); query_uart16550(dtb); + query_uart_litex(dtb); query_htif(dtb); printm("bbl loader\r\n"); |