diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-25 20:15:53 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-12-20 08:09:55 +1300 |
commit | e0ff85513858246e5378e4e3676ef6128452c4f6 (patch) | |
tree | 8265f67f1246bf73f351a785ea27bfc305384f7e /tools/binman/test/34_x86_ucode.dts | |
parent | 4f44304b0bd881f79252c7b7d2fb796e31ca3b0a (diff) |
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>
Diffstat (limited to 'tools/binman/test/34_x86_ucode.dts')
-rw-r--r-- | tools/binman/test/34_x86_ucode.dts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/binman/test/34_x86_ucode.dts b/tools/binman/test/34_x86_ucode.dts new file mode 100644 index 0000000000..64a6c2c3d5 --- /dev/null +++ b/tools/binman/test/34_x86_ucode.dts @@ -0,0 +1,29 @@ +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + sort-by-pos; + end-at-4gb; + size = <0x200>; + u-boot-with-ucode-ptr { + }; + + u-boot-dtb-with-ucode { + }; + + u-boot-ucode { + }; + }; + + microcode { + update@0 { + data = <0x12345678 0x12345679>; + }; + update@1 { + data = <0xabcd0000 0x78235609>; + }; + }; +}; |