lib/Kconfig: Enable OF_LIBFDT_OVERLAY by default when FIT is enabled

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>
[trini: Disable on turris_omnia and bk4r1]
Signed-off-by: Tom Rini <trini@konsulko.com>
3 files changed