[PATCH 18/29] fdt: Allow use of fdt_support inside if() statements
Tom Rini
trini at konsulko.com
Wed Nov 15 23:37:28 CET 2023
On Sat, Nov 11, 2023 at 05:09:03PM -0700, Simon Glass wrote:
> Most of the fdt_support.h header file is included only if OF_LIBFDT or
> OF_CONTROL are enabled. This means that calling functions defined in
> that file must happen inside an #ifdef
>
> This is unnecessary, so reduce the condition to just !USE_HOSTCC
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231115/56a95d83/attachment.sig>
More information about the U-Boot
mailing list