Change u-boot overlay support activation patch

This commit is contained in:
zador-blood-stained 2017-02-26 22:26:13 +03:00
parent 23e6d0469b
commit b13e054ff5
2 changed files with 24 additions and 24 deletions

View file

@ -1,12 +1,12 @@
diff --git a/u-boot/lib/Kconfig b/u-boot/lib/Kconfig
index b16062fbe..8c797a779 100644
--- a/u-boot/lib/Kconfig
+++ b/u-boot/lib/Kconfig
@@ -141,6 +141,7 @@ config OF_LIBFDT
config OF_LIBFDT_OVERLAY
bool "Enable the FDT library overlay support"
+ default y if OF_LIBFDT
help
This enables the FDT library (libfdt) overlay support.
diff --git a/u-boot/arch/arm/Kconfig b/u-boot/arch/arm/Kconfig
index 0ed36cded..822ebb812 100644
--- a/u-boot/arch/arm/Kconfig
+++ b/u-boot/arch/arm/Kconfig
@@ -578,6 +578,7 @@ config ARCH_SUNXI
select CMD_GPIO
select CMD_MMC if MMC
select CMD_USB if DISTRO_DEFAULTS
+ select OF_LIBFDT_OVERLAY
select DM
select DM_ETH
select DM_GPIO

View file

@ -1,12 +1,12 @@
diff --git a/lib/Kconfig b/lib/Kconfig
index b16062fbe..8c797a779 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -141,6 +141,7 @@ config OF_LIBFDT
config OF_LIBFDT_OVERLAY
bool "Enable the FDT library overlay support"
+ default y if OF_LIBFDT
help
This enables the FDT library (libfdt) overlay support.
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0ed36cded..822ebb812 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -578,6 +578,7 @@ config ARCH_SUNXI
select CMD_GPIO
select CMD_MMC if MMC
select CMD_USB if DISTRO_DEFAULTS
+ select OF_LIBFDT_OVERLAY
select DM
select DM_ETH
select DM_GPIO