summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-15 22:02:38 -0700
committerSimon Glass <sjg@chromium.org>2014-12-18 17:26:05 -0700
commit31eca697276ef9aced10b802a869e7783439482e (patch)
treec7547676f386b38cfa5a80ffd1ec44164dd55583 /tools/Makefile
parent65851fcec305bae079b35e17103aa61c8ef54674 (diff)
downloadblackbird-obmc-uboot-31eca697276ef9aced10b802a869e7783439482e.tar.gz
blackbird-obmc-uboot-31eca697276ef9aced10b802a869e7783439482e.zip
x86: ifdtool: Add support for early microcode access
Some Intel CPUs use an 'FSP' binary blob which provides an inflexible means of starting up the CPU. One result is that microcode updates can only be done before RAM is available and therefore parsing of the device tree is impracticle. Worse, the addess of the microcode update must be stored in ROM since a pointer to its start address and size is passed to the 'FSP' blob. It is not possible to perform any calculations to obtain the address and size. To work around this, ifdtool is enhanced to work out the address and size of the first microcode update it finds in the supplied device tree. It then writes these into the correct place in the ROM. U-Boot can then start up the FSP correctly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index a4216a1de7..e549f8e63c 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -126,6 +126,7 @@ hostprogs-$(CONFIG_EXYNOS5250) += mkexynosspl
hostprogs-$(CONFIG_EXYNOS5420) += mkexynosspl
HOSTCFLAGS_mkexynosspl.o := -pedantic
+ifdtool-objs := $(LIBFDT_OBJS) ifdtool.o
hostprogs-$(CONFIG_X86) += ifdtool
hostprogs-$(CONFIG_MX23) += mxsboot
OpenPOWER on IntegriCloud