Re: [PATCH 18/29] fdt: Allow use of fdt_support inside if() statements

2023-11-15 Thread Tom Rini
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

[PATCH 18/29] fdt: Allow use of fdt_support inside if() statements

2023-11-11 Thread Simon Glass
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 --- include/fdt_support