summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-04-27 22:23:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-05-17 08:29:42 +0200
commit9174376cd08e1e3e638cd852525cc529d25fde47 (patch)
tree7823355296ac9f2acf5c9ff6ad4dad21722260b3 /common
parent109a9487f5565e798129e69b6a8fc53b083be470 (diff)
downloadbarebox-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/Kconfig4
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