Currently the microcode-tool writes microcode into a data block as well as the device tree properties which represents the first 48 bytes in the microcode data. Now we change the tool to only write the microcode without device tree stuff so that multiple microcode data blocks can be included in a single property.
Signed-off-by: Bin Meng <bmeng...@gmail.com> --- tools/microcode-tool.py | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/tools/microcode-tool.py b/tools/microcode-tool.py index 71c2e91..5522ffc 100755 --- a/tools/microcode-tool.py +++ b/tools/microcode-tool.py @@ -173,20 +173,21 @@ def CreateFile(date, license_text, mcodes, outfile): * node. * * Date: %s + * + * Device tree properties for this microcode: + * + * compatible = "intel,microcode"; + * intel,header-version = <%d>; + * intel,update-revision = <%#x>; + * intel,date-code = <%#x>; + * intel,processor-signature = <%#x>; + * intel,checksum = <%#x>; + * intel,loader-revision = <%d>; + * intel,processor-flags = <%#x>; */ -compatible = "intel,microcode"; -intel,header-version = <%d>; -intel,update-revision = <%#x>; -intel,date-code = <%#x>; -intel,processor-signature = <%#x>; -intel,checksum = <%#x>; -intel,loader-revision = <%d>; -intel,processor-flags = <%#x>; - /* The first 48-bytes are the public header which repeats the above data */ -data = <%s -\t>;''' +%s''' words = '' add_comments = len(mcodes) > 1 for mcode in mcodes: -- 1.8.2.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot