[U-Boot] [PATCH v2] Make FIT support really optional

Otavio Salvador
2016-06-04T12:09:30Z

Hello Carlos,

On Fri, Jun 3, 2016 at 4:16 PM, Carlos Santos <casantos@datacom.ind.br> wrote:
> Due to some mistakes in the source code, it was not possible to really
> turn FIT support off. This commit fixes the problem by means of the
> following changes:
>
> - Enclose "bootm_host_load_image" and "bootm_host_load_images" between
> checks for CONFIG_FIT_SIGNATURE, in common/bootm.c.
>
> - Enclose the declaration of "bootm_host_load_images" between checks for
> CONFIG_FIT_SIGNATURE, in common/bootm.h.
>
> - Condition the compilation and linking of fit_common.o fit_image.o
> image-host.o common/image-fit.o to CONFIG_FIT=y, in tools/Makefile.
>
> Signed-off-by: Carlos Santos <casantos@datacom.ind.br>

Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>

Thanks for resending it; I am adding Tom on Cc as this is likely going
straight for his tree.

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750