diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-04-27 22:23:01 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-03 14:00:15 +0200 |
commit | 7d7cddb45acf915a7cb761b85c7a291d874195f5 (patch) | |
tree | 073cfcc0b3ccf5b7a9566b5daaf9e97343e54a6d /arch/riscv/Kconfig.socs | |
parent | 569042e154b7d211aea82c884607ee568bcd4d3d (diff) | |
download | barebox-7d7cddb45acf915a7cb761b85c7a291d874195f5.tar.gz barebox-7d7cddb45acf915a7cb761b85c7a291d874195f5.tar.xz |
RISC-V: support multi-image for all machines
We already got rid of arch/riscv/mach-virt. Now do the same for
arch/riscv/mach-erizo. This will enable us to build images for all
RISC-V boards at once.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210427202309.32077-4-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/riscv/Kconfig.socs')
-rw-r--r-- | arch/riscv/Kconfig.socs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs new file mode 100644 index 0000000000..b0e38d8f2c --- /dev/null +++ b/arch/riscv/Kconfig.socs @@ -0,0 +1,24 @@ +menu "SoC selection" + +config SOC_ERIZO + bool "Erizo SoC" + select ARCH_RV32I + select HAS_DEBUG_LL + select HAS_NMON + select USE_COMPRESSED_DTB + select RISCV_M_MODE + select RISCV_TIMER + +config BOARD_ERIZO_GENERIC + depends on SOC_ERIZO + def_bool y + +config SOC_VIRT + bool "QEMU Virt Machine" + select BOARD_RISCV_GENERIC_DT + select CLINT_TIMER + help + Generates an image tht can be be booted by QEMU. The image is called + barebox-dt-2nd.img + +endmenu |