]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Allow use of fdt_support inside if() statements
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:07 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit813f75d8580c96fe83f3b7a450a981e982429356
tree75f646e954cb87172e3d288758541831ad41422d
parent8eda15bc6a374a963ddf899d99088e40484d5276
fdt: Allow use of fdt_support inside if() statements

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@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/fdt_support.h