summaryrefslogtreecommitdiff
path: root/arch/um/Kconfig
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2021-12-08 16:11:23 +0100
committerRichard Weinberger <richard@nod.at>2021-12-22 20:35:01 +0100
commitb31297f04e86e4115ece79ca530d8ae1c454db75 (patch)
tree0de0a845d29525262d48d3b81c829a855806ff23 /arch/um/Kconfig
parent361640b4fdc86167b0c25d8e73c08dcaa4ecd28a (diff)
um: Add devicetree support
Add a dtb=<filename> option to boot UML with a devicetree blob. This can be used for testing driver code using UML. Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> [rw: Add dependency on CONFIG_OF] Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/Kconfig')
-rw-r--r--arch/um/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index aafdbb6e8059..b233db4f42b2 100644
--- a/arch/um/Kconfig
+++ b/arch/um/Kconfig
@@ -18,6 +18,7 @@ config UML
select HAVE_DEBUG_KMEMLEAK
select HAVE_DEBUG_BUGVERBOSE
select NO_DMA if !UML_DMA_EMULATION
+ select OF_EARLY_FLATTREE if OF
select GENERIC_IRQ_SHOW
select GENERIC_CPU_DEVICES
select HAVE_GCC_PLUGINS