image: cleanup pre-processor usage
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 4 Jan 2021 19:48:03 +0000 (20:48 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jan 2021 13:21:48 +0000 (08:21 -0500)
commitf14e6eec6c7fe5c0a77491bdb62961ae8dacb503
tree6e113ac9bc650a5ba285b65e16ce65f66dbdce1d
parent62b07b5173e3d04fabfac42cf1f4779d021f94ad
image: cleanup pre-processor usage

Replace most #ifdef checks for USE_HOSTCC and CONFIG_*
with normal if instructions.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
common/image-fit.c
include/image.h