diff mbox series

[1/2] configs: TI: Enable FIT Library overlay support

Message ID 1524690204-5560-2-git-send-email-praneeth@ti.com
State Accepted
Commit 58a46f88aff1f10f02905c0bec8366bc02e1765b
Headers show
Series Boot android with FIT image | expand

Commit Message

Bajjuri, Praneeth April 25, 2018, 9:03 p.m. UTC
Enable the FDT library overlay support for all TI SOC family.

Without this option, when Loading fdt from FIT image, the
following warning is seen.

"config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Suggested-by: Andrew F.Davis <afd@ti.com>
---
 lib/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini April 26, 2018, 11:21 a.m. UTC | #1
On Wed, Apr 25, 2018 at 04:03:23PM -0500, Praneeth Bajjuri wrote:

> Enable the FDT library overlay support for all TI SOC family.

> 

> Without this option, when Loading fdt from FIT image, the

> following warning is seen.

> 

> "config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".

> 

> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>

> Suggested-by: Andrew F.Davis <afd@ti.com>


Reviewed-by: Tom Rini <trini@konsulko.com>


-- 
Tom
Sam Protsenko April 26, 2018, 4:46 p.m. UTC | #2
On 26 April 2018 at 00:03, Praneeth Bajjuri <praneeth@ti.com> wrote:
> Enable the FDT library overlay support for all TI SOC family.
>
> Without this option, when Loading fdt from FIT image, the
> following warning is seen.
>
> "config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".
>
> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
> Suggested-by: Andrew F.Davis <afd@ti.com>

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>

> ---
>  lib/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 436b90f..6d5306a 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -252,6 +252,7 @@ config OF_LIBFDT
>
>  config OF_LIBFDT_OVERLAY
>         bool "Enable the FDT library overlay support"
> +       default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE
>         help
>           This enables the FDT library (libfdt) overlay support.
>
> --
> 1.9.1
>
Tom Rini May 8, 2018, 5:17 p.m. UTC | #3
On Wed, Apr 25, 2018 at 04:03:23PM -0500, Praneeth Bajjuri wrote:

> Enable the FDT library overlay support for all TI SOC family.

> 

> Without this option, when Loading fdt from FIT image, the

> following warning is seen.

> 

> "config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".

> 

> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>

> Suggested-by: Andrew F.Davis <afd@ti.com>

> Reviewed-by: Tom Rini <trini@konsulko.com>

> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

diff --git a/lib/Kconfig b/lib/Kconfig
index 436b90f..6d5306a 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -252,6 +252,7 @@  config OF_LIBFDT
 
 config OF_LIBFDT_OVERLAY
 	bool "Enable the FDT library overlay support"
+	default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE
 	help
 	  This enables the FDT library (libfdt) overlay support.