summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-06-12 14:53:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-06-13 09:01:17 +0200
commitd7fb894dda814fa04bc48c1c4300bc0ef0985acd (patch)
tree406a4a6ef142f9892b2036f6db3c5a48c93a6641 /arch/riscv
parent91c87553cf27431efee99baf25a17e23d0540cbc (diff)
downloadbarebox-d7fb894dda814fa04bc48c1c4300bc0ef0985acd.tar.gz
barebox-d7fb894dda814fa04bc48c1c4300bc0ef0985acd.tar.xz
of: select OF_OVERLAY where appropriate
Both Qemu Virt and riscvemu depend on OF_OVERLAY to apply overlays, but don't care for symbols in the barebox DT (and thus don't need OF_OVERLAY_LIVE). Reflect this in the Kconfig. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230612125331.1085059-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/Kconfig.socs1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 2cb0716cd5..56ba5ecf58 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -38,6 +38,7 @@ config BOARD_RISCV_VIRT
config BOARD_RISCVEMU
depends on SOC_VIRT
bool "TinyEMU Virt Machine (riscvemu)"
+ select OF_OVERLAY
default y
help
TinyEMU's Virt machine differs from QEMU in poweroff and restart