Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1156977
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/3] of: make CONFIG_OF user selectable |
| Date | 2015-06-03 00:50 +0200 |
| Message-ID | <px3aq-6Sy-11@gated-at.bofh.it> (permalink) |
| References | <px3ap-6Sy-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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: Rob Herring <robh@kernel.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Grant Likely <grant.likely@linaro.org> --- drivers/of/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 07bb3c8..415b51d 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -1,11 +1,10 @@ config DTC bool -config OF - bool +menuconfig OF + bool "Device Tree and Open Firmware support" -menu "Device Tree and Open Firmware support" - depends on OF +if OF config OF_UNITTEST bool "Device Tree runtime unit tests" @@ -97,4 +96,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 -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] Make CONFIG_OF user selectable Rob Herring <robh@kernel.org> - 2015-06-03 00:50 +0200
[PATCH 1/3] MIPS: prepare for user enabling of CONFIG_OF Rob Herring <robh@kernel.org> - 2015-06-03 00:50 +0200
[PATCH 3/3] of: make unittest select OF_EARLY_FLATTREE instead of depend on it Rob Herring <robh@kernel.org> - 2015-06-03 00:50 +0200
[PATCH 2/3] of: make CONFIG_OF user selectable Rob Herring <robh@kernel.org> - 2015-06-03 00:50 +0200
Re: [PATCH 2/3] of: make CONFIG_OF user selectable Geert Uytterhoeven <geert@linux-m68k.org> - 2015-06-03 08:50 +0200
csiph-web