diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 868f3712bc67..5160c4eb73c2 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -9,7 +9,7 @@ menu "Device Tree and Open Firmware support" config OF_SELFTEST bool "Device Tree Runtime self tests" - depends on OF_IRQ + depends on OF_IRQ && OF_EARLY_FLATTREE select OF_DYNAMIC help This option builds in test cases for the device tree infrastructure