u-boot/scripts/dtc/libfdt
Philippe Reynes 70f42e720c scripts: dtc: libfdt: fdt_ro.c: always define fdt_check_full
On some configs (like stm32mp15_dhcom_basic_defconfig), if configs
SPL_LOAD_FIT_FULL and SPL_FIT_FULL_CHECK are enabled. Then the compilatio
fails with the following error:

arm-linux-gnueabi-ld.bfd: boot/image-fit.o: in function `fit_check_format':
<PATH>/uboot/u-boot-stm/boot/image-fit.c:1641: undefined reference to `fdt_check_full'
scripts/Makefile.spl:509: recipe for target 'spl/u-boot-spl' failed

This issue happens because the function fdt_check_full is only defined if
"!defined(FDT_ASSUME_MASK) || FDT_ASSUME_MASK != 0xff". But this function
may be called even if this condition are not verified. To avoid this issue,
the function fdt_check_full is always defined.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-02-22 10:05:44 -07:00
..
fdt.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt.h fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
fdt_addresses.c fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
fdt_empty_tree.c fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
fdt_overlay.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt_ro.c scripts: dtc: libfdt: fdt_ro.c: always define fdt_check_full 2022-02-22 10:05:44 -07:00
fdt_rw.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
fdt_strerror.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt_sw.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt_wip.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
libfdt.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
libfdt_env.h fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
libfdt_internal.h fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
Makefile.libfdt fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00