diff mbox series

[U-Boot] lib/Kconfig: Mark OF_LIBFDT_OVERLAY as depending on OF_LIBFDT

Message ID 1525783987-6313-1-git-send-email-trini@konsulko.com
State Accepted
Commit 6417572efa9107674ec106ae7e388178a92155fc
Delegated to: Tom Rini
Headers show
Series [U-Boot] lib/Kconfig: Mark OF_LIBFDT_OVERLAY as depending on OF_LIBFDT | expand

Commit Message

Tom Rini May 8, 2018, 12:53 p.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini May 8, 2018, 5:18 p.m. UTC | #1
On Tue, May 08, 2018 at 08:53:07AM -0400, Tom Rini wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/lib/Kconfig b/lib/Kconfig
index 3fa1731a4951..1590f7afa402 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -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.