diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-11-25 17:10:42 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-12-07 15:03:31 +0100 |
commit | 1d18aeb88b8dea512fb7401be5ec502908602711 (patch) | |
tree | f3f0296c7aa0b5fd78a244e48426955fae1a537b /arch/riscv/Kconfig.socs | |
parent | 4efddf4157111d53c6ae10fa30f68748352e638a (diff) | |
download | barebox-1d18aeb88b8dea512fb7401be5ec502908602711.tar.gz barebox-1d18aeb88b8dea512fb7401be5ec502908602711.tar.xz |
RISC-V: qemu-virt: add overlay for environment and state
Like we do on ARM, let's add state and environment to RISC-V QEMU Virt
as well.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20211125161042.3829996-8-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 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index b12c795041..9f2a4f825e 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -23,6 +23,16 @@ config SOC_VIRT Generates an image tht can be be booted by QEMU. The image is called barebox-dt-2nd.img +config BOARD_RISCV_VIRT + depends on SOC_VIRT + bool "QEMU Virt Machine" + select OF_OVERLAY + select BOARD_QEMU_VIRT + default y + help + Enables environment and state on top of QEMU RISC-V Virt machine + cfi-flash. + config BOARD_RISCVEMU depends on SOC_VIRT bool "TinyEMU Virt Machine (riscvemu)" |