lib/Kconfig: Mark OF_LIBFDT_OVERLAY as depending on OF_LIBFDT
authorTom Rini <trini@konsulko.com>
Tue, 8 May 2018 12:52:17 +0000 (08:52 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:41 +0000 (09:07 -0400)
The overlay code is only useful when OF_LIBFDT is set, so mark it as
depending on that first.

Signed-off-by: Tom Rini <trini@konsulko.com>
lib/Kconfig

index 3fa1731a49513028aa2d96bbe5f3e36f4dc4a665..1590f7afa40250cf3df678fccd57aecaa5e1e940 100644 (file)
@@ -286,6 +286,7 @@ config OF_LIBFDT
 
 config OF_LIBFDT_OVERLAY
        bool "Enable the FDT library overlay support"
+       depends on OF_LIBFDT
        default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE
        help
          This enables the FDT library (libfdt) overlay support.