diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-04-27 22:23:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-17 08:29:42 +0200 |
commit | 9174376cd08e1e3e638cd852525cc529d25fde47 (patch) | |
tree | 7823355296ac9f2acf5c9ff6ad4dad21722260b3 /common | |
parent | 109a9487f5565e798129e69b6a8fc53b083be470 (diff) | |
download | barebox-9174376cd08e1e3e638cd852525cc529d25fde47.tar.gz |
RISC-V: sifive: add HiFive board support
With the recently added SiFive support, we now have enough functionality
to boot a HiFive board to shell:
qemu-system-riscv64 -M sifive_u serial_stdio \
-kernel./images/barebox-hifive-unleashed.img
Some more drivers need to be ported for this to be useful:
- sifive,spi0 needed for talking to SD-Card
- clocksource The riscv-timer seems to be 10x too fast
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210427202309.32077-12-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 6d7a1c6b04..a883f2f69c 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1347,6 +1347,10 @@ config DEBUG_ERIZO bool "Erizo ns16550 port" depends on SOC_ERIZO +config DEBUG_SIFIVE + bool "SiFive serial0 port" + depends on SOC_SIFIVE + endchoice config DEBUG_IMX_UART_PORT |