[RFC/PATCH] lib/Kconfig: Enable OF_LIBFDT_OVERLAY by default when FIT is enabled

Simon Glass sjg at chromium.org
Mon Jan 30 16:50:18 CET 2023

Hi Laurent,

On Sun, 29 Jan 2023 at 09:30, Laurent Pinchart
<laurent.pinchart at ideasonboard.com> wrote:
> FIT image support is commonly used to bundle a kernel image, a device
> tree, and device tree overlays. Applying overlays requires the
> OF_LIBFDT_OVERLAY config option to be set, which lots of boards fail to
> select, most likely because developers never noticed. This leads to an
> error when trying to apply overlays:
> "config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set"
> TI ARM boards select the option by default. Extend this to all systems
> that select the FIT option. This only affects the default, overlay
> support can still be disabled manually in the configuration.
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> I'm posting this as an RFC to get feedback. If the idea is generally
> appreciated, I'll update the defconfig files accordingly.
> ---
>  lib/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

But I wonder what the code-size increase is?


More information about the U-Boot mailing list