]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: ifdtool: Support collating microcode into one place
authorSimon Glass <sjg@chromium.org>
Sat, 15 Aug 2015 20:37:53 +0000 (14:37 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:45 +0000 (11:29 +0200)
commit089937c695ec21457c23e67deb80392193ff05b2
treebe9397415df1735b4295999967a287bd86611a44
parentd130156839af94942ac1ce9e7cb74d1dcc9928e0
x86: ifdtool: Support collating microcode into one place

The Intel Firmware Support Package (FSP) requires that microcode be provided
very early before the device tree can be scanned. We already support adding
a pointer to the microcode data in a place where early init code can access.

However this just points into the device tree and can only point to a single
lot of microcode. For boards which may have different CPU types we must
support multiple microcodes and pass all of them to the FSP in one place.

Enhance ifdtool to scan all the microcode, place it together in the ROM and
update the microcode pointer to point there. This allows us to pass multiple
microcode blocks to the FSP using its existing API.

Enable the flag in the Makefile so that this feature is used by default for
all boards.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Makefile
tools/ifdtool.c