[coreboot] New patch to review for coreboot: db7c2e5 x86: Add alignment requirement for cbfs microcode

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Mar 13 22:16:25 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2711

-gerrit

commit db7c2e529785f46163c57b824e9f31fa59c697bb
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Fri Dec 14 17:11:20 2012 -0600

    x86: Add alignment requirement for cbfs microcode
    
    There is a requirement that microcode updates be aligned
    on a 16 byte boundary. Inform cbfstool to align the microcode
    blob in cbfs to a 16-byte boundary.
    
    Noted that when alignment requirement is added the microcode
    is properly aligned.
    
    Change-Id: I84edb8ae98ab06858228e0ccba9e914131a14379
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/cpu/Makefile.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc
index b48a803..09ca2eb 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -16,12 +16,14 @@ ifeq ($(CONFIG_CPU_MICROCODE_CBFS_EXTERNAL), y)
 cbfs-files-y += cpu_microcode_blob.bin
 cpu_microcode_blob.bin-type = 0x53
 cpu_microcode_blob.bin-file = $(call strip_quotes,$(CONFIG_CPU_MICROCODE_FILE))
+cpu_microcode_blob.bin-position = 0x10
 endif
 
 ifeq ($(CONFIG_CPU_MICROCODE_CBFS_GENERATE), y)
 cbfs-files-y += cpu_microcode_blob.bin
 cpu_microcode_blob.bin-type = 0x53
 cpu_microcode_blob.bin-file = $(obj)/cpu_microcode_blob.bin
+cpu_microcode_blob.bin-position = 0x10
 endif
 
 # In case we have more than one "source" (cough) files containing microcode, we



More information about the coreboot mailing list