|
|
@@ -1,11 +1,15 @@
|
|
|
config DTC
|
|
|
bool
|
|
|
|
|
|
-config OF
|
|
|
- bool
|
|
|
+menuconfig OF
|
|
|
+ bool "Device Tree and Open Firmware support"
|
|
|
+ help
|
|
|
+ This option enables the device tree infrastructure.
|
|
|
+ It is automatically selected by platforms that need it or can
|
|
|
+ be enabled manually for unittests, overlays or
|
|
|
+ compile-coverage.
|
|
|
|
|
|
-menu "Device Tree and Open Firmware support"
|
|
|
- depends on OF
|
|
|
+if OF
|
|
|
|
|
|
config OF_UNITTEST
|
|
|
bool "Device Tree runtime unit tests"
|
|
|
@@ -97,4 +101,4 @@ config OF_OVERLAY
|
|
|
While this option is selected automatically when needed, you can
|
|
|
enable it manually to improve device tree unit test coverage.
|
|
|
|
|
|
-endmenu # OF
|
|
|
+endif # OF
|