Commit 0166dc11 authored by Rob Herring's avatar Rob Herring

of: make CONFIG_OF user selectable

With the addition of overlays, it is now plausible to use DT on any arch
and without an arch using it at boot time. It is also desirable to
expand the compile coverage of the DT code. Make CONFIG_OF user
selectable by converting the menu to menuconfig.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarPantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: default avatarGrant Likely <grant.likely@lianro.org>
parent 42ef8946
config DTC config DTC
bool bool
config OF menuconfig OF
bool 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" if OF
depends on OF
config OF_UNITTEST config OF_UNITTEST
bool "Device Tree runtime unit tests" bool "Device Tree runtime unit tests"
...@@ -97,4 +101,4 @@ config OF_OVERLAY ...@@ -97,4 +101,4 @@ config OF_OVERLAY
While this option is selected automatically when needed, you can While this option is selected automatically when needed, you can
enable it manually to improve device tree unit test coverage. enable it manually to improve device tree unit test coverage.
endmenu # OF endif # OF
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment