diff options
-rw-r--r-- | drivers/of/Kconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 7bcaeec876c0..1470b5227834 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig | |||
@@ -34,7 +34,11 @@ config OF_PROMTREE | |||
34 | # Hardly any platforms need this. It is safe to select, but only do so if you | 34 | # Hardly any platforms need this. It is safe to select, but only do so if you |
35 | # need it. | 35 | # need it. |
36 | config OF_DYNAMIC | 36 | config OF_DYNAMIC |
37 | bool | 37 | bool "Support for dynamic device trees" if OF_UNITTEST |
38 | help | ||
39 | On some platforms, the device tree can be manipulated at runtime. | ||
40 | While this option is selected automatically on such platforms, you | ||
41 | can enable it manually to improve device tree unit test coverage. | ||
38 | 42 | ||
39 | config OF_ADDRESS | 43 | config OF_ADDRESS |
40 | def_bool y | 44 | def_bool y |
@@ -87,5 +91,10 @@ config OF_OVERLAY | |||
87 | bool "Device Tree overlays" | 91 | bool "Device Tree overlays" |
88 | select OF_DYNAMIC | 92 | select OF_DYNAMIC |
89 | select OF_RESOLVE | 93 | select OF_RESOLVE |
94 | help | ||
95 | Overlays are a method to dynamically modify part of the kernel's | ||
96 | device tree with dynamically loaded data. | ||
97 | While this option is selected automatically when needed, you can | ||
98 | enable it manually to improve device tree unit test coverage. | ||
90 | 99 | ||
91 | endmenu # OF | 100 | endmenu # OF |