diff options
author | Simon Glass <sjg@chromium.org> | 2023-11-18 14:05:07 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-13 11:51:24 -0500 |
commit | 813f75d8580c96fe83f3b7a450a981e982429356 (patch) | |
tree | 75f646e954cb87172e3d288758541831ad41422d /boot/image-fdt.c | |
parent | 8eda15bc6a374a963ddf899d99088e40484d5276 (diff) |
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>
Diffstat (limited to 'boot/image-fdt.c')
0 files changed, 0 insertions, 0 deletions