image: Split host code out into its own file

To avoid having #ifdefs in a few functions which are completely different
in the board and host code, create a new image-host.c file.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2021-09-25 07:03:17 -06:00
committed by Tom Rini
parent 3d2a47f11c
commit 5d3248a688
4 changed files with 46 additions and 37 deletions

View File

@@ -113,6 +113,7 @@ dumpimage-mkimage-objs := aisimage.o \
lib/fdtdec_common.o \
lib/fdtdec.o \
common/image.o \
common/image-host.o \
imagetool.o \
imximage.o \
imx8image.o \