binman: Add support for building x86 ROMs

The structure of x86 ROMs is pretty complex. There are various binary blobs
to place in the image. Microcode requires special handling so that it is
available to very early code and can be used without any memory whatsoever.

Add support for the various entry types that are currently needed, along
with some tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass
2016-11-25 20:15:53 -07:00
parent 4f44304b0b
commit e0ff855138
23 changed files with 760 additions and 3 deletions

View File

@@ -369,6 +369,17 @@ Examples of the above options can be found in the tests. See the
tools/binman/test directory.
Special properties
------------------
Some entries support special properties, documented here:
u-boot-with-ucode-ptr:
optional-ucode: boolean property to make microcode optional. If the
u-boot.bin image does not include microcode, no error will
be generated.
Order of image creation
-----------------------