diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-01-29 18:30:22 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-07 15:20:53 -0500 |
commit | 476ccd14d7865321a37ee36baedb4826d5f0e2c4 (patch) | |
tree | f91edfc9f0e8165be6b40a4ded2320f2f797f182 | |
parent | 3b3c870d87476c1bdcfe5fc762a01d926a4e5365 (diff) | |
download | u-boot-WIP/2023-03-07-enable-fdt-overlay-more-widely.zip u-boot-WIP/2023-03-07-enable-fdt-overlay-more-widely.tar.gz u-boot-WIP/2023-03-07-enable-fdt-overlay-more-widely.tar.bz2 |
lib/Kconfig: Enable OF_LIBFDT_OVERLAY by default when FIT is enabledWIP/2023-03-07-enable-fdt-overlay-more-widely
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@ideasonboard.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | lib/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 4278b24..0f12502 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -853,7 +853,7 @@ config OF_LIBFDT_ASSUME_MASK config OF_LIBFDT_OVERLAY bool "Enable the FDT library overlay support" depends on OF_LIBFDT - default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE + default y if FIT help This enables the FDT library (libfdt) overlay support. |