aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-08 13:18:20 -0600
committerSimon Glass <sjg@chromium.org>2019-07-23 20:27:56 -0700
commit56bf4f8630758a9e7851cd8a088f35d490b51688 (patch)
tree4bb576a78ff39df32b5be5d677c3feaa450c788f /tools/Makefile
parentff8c23e784f57a7098e91a200ed7f5a48612b653 (diff)
downloadu-boot-56bf4f8630758a9e7851cd8a088f35d490b51688.zip
u-boot-56bf4f8630758a9e7851cd8a088f35d490b51688.tar.gz
u-boot-56bf4f8630758a9e7851cd8a088f35d490b51688.tar.bz2
x86: Add ifwitool for Intel Integrated Firmware Image
Some Intel SoCs from about 2016 boot using an internal microcontroller via an 'IFWI' image. This is a special format which can hold firmware images. In U-Boot's case it holds u-boot-tpl.bin. Add this tool, taken from coreboot, so that we can build bootable images on apollolake SoCs. This tool itself has no tests. Some amount of coverage will be provided by the binman tests that use it, so enable building the tool on sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 33e90a8..87d81a3 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -175,6 +175,9 @@ HOSTCFLAGS_mkexynosspl.o := -pedantic
ifdtool-objs := $(LIBFDT_OBJS) ifdtool.o
hostprogs-$(CONFIG_X86) += ifdtool
+ifwitool-objs := ifwitool.o
+hostprogs-$(CONFIG_X86)$(CONFIG_SANDBOX) += ifwitool
+
hostprogs-$(CONFIG_MX23) += mxsboot
hostprogs-$(CONFIG_MX28) += mxsboot
HOSTCFLAGS_mxsboot.o := -pedantic