summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-04-27 22:23:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-05-03 14:00:15 +0200
commit03b6feb99ad6ca9aed71bd0b56e660e4ebf23e2e (patch)
treec385172014525236dbccc2b781401e211f2e2c21
parent7d7cddb45acf915a7cb761b85c7a291d874195f5 (diff)
downloadbarebox-03b6feb99ad6ca9aed71bd0b56e660e4ebf23e2e.tar.gz
barebox-03b6feb99ad6ca9aed71bd0b56e660e4ebf23e2e.tar.xz
RISC-V: erizo: restrict to RV32I
Erizo is a RISC-V 32-bit softcore. Because ARCH_RV32I can be selected independently, a 64-bit barebox images could be built, but the image produced would be useless. Avoid this by not showing the SOC_ERIZO prompt when compiling for 64-bit. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210427202309.32077-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/riscv/Kconfig.socs2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index b0e38d8f2c..093bca3380 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -2,7 +2,7 @@ menu "SoC selection"
config SOC_ERIZO
bool "Erizo SoC"
- select ARCH_RV32I
+ depends on ARCH_RV32I
select HAS_DEBUG_LL
select HAS_NMON
select USE_COMPRESSED_DTB