[U-Boot] [PATCH v3 07/14] fit: Introduce methods for applying overlays on fit-load

sjg at google.com sjg at google.com
Fri Sep 15 19:19:42 UTC 2017


On 4 September 2017 at 14:12, Pantelis Antoniou
<pantelis.antoniou at konsulko.com> wrote:
> Introduce an overlay based method for constructing a base DT blob
> to pass to the kernel.
>
> It is based on a specific method now to get the FDT from a FIT image
> named boot_get_fdt_fit().
>
> Signed-off-by: Pantelis Antoniou <pantelis.antoniou at konsulko.com>
> ---
>  common/image-fdt.c |   7 +--
>  common/image-fit.c | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++--
>  include/image.h    |  25 ++++++++
>  3 files changed, 205 insertions(+), 8 deletions(-)

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

I wonder if you can use if (IS_ENABLED(CONFIG_OF_LIBFDT_OVERLAY))
instead of #if ?

Applied to u-boot-fdt thanks!


More information about the U-Boot mailing list