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/etype/intel_vga.py | |
parent | 4f44304b0bd881f79252c7b7d2fb796e31ca3b0a (diff) | |
download | u-boot-e0ff85513858246e5378e4e3676ef6128452c4f6.zip u-boot-e0ff85513858246e5378e4e3676ef6128452c4f6.tar.gz u-boot-e0ff85513858246e5378e4e3676ef6128452c4f6.tar.bz2 |
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/etype/intel_vga.py')
-rw-r--r-- | tools/binman/etype/intel_vga.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/binman/etype/intel_vga.py b/tools/binman/etype/intel_vga.py new file mode 100644 index 0000000..d8f270b --- /dev/null +++ b/tools/binman/etype/intel_vga.py @@ -0,0 +1,17 @@ +# Copyright (c) 2016 Google, Inc +# Written by Simon Glass <sjg@chromium.org> +# +# SPDX-License-Identifier: GPL-2.0+ +# +# Entry-type module for x86 VGA ROM binary blob +# + +from entry import Entry +from blob import Entry_blob + +class Entry_intel_vga(Entry_blob): + def __init__(self, image, etype, node): + Entry_blob.__init__(self, image, etype, node) + + def GetDefaultFilename(self): + return 'vga.bin' |