[coreboot-gerrit] Change in ...coreboot[master]: soc/fsp_broadwell_de: Add microcode updates pre memory

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Fri Nov 23 19:02:10 CET 2018


Philipp Deppenwiese has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29819


Change subject: soc/fsp_broadwell_de: Add microcode updates pre memory
......................................................................

soc/fsp_broadwell_de: Add microcode updates pre memory

Add support for updating microcodes on BDX DE before
memory is initialized without FIT support.

Change-Id: Ie31acaf0fc41c51b9edf65b981d43d7732661770
Signed-off-by: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
---
M src/drivers/intel/fsp1_0/fsp_util.c
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/29819/1

diff --git a/src/drivers/intel/fsp1_0/fsp_util.c b/src/drivers/intel/fsp1_0/fsp_util.c
index a09b1b1..71f6416 100644
--- a/src/drivers/intel/fsp1_0/fsp_util.c
+++ b/src/drivers/intel/fsp1_0/fsp_util.c
@@ -22,6 +22,7 @@
 #include <lib.h> // hexdump
 #include <ip_checksum.h>
 #include <timestamp.h>
+#include <cpu/intel/microcode.h>
 
 #ifndef __PRE_RAM__
 /* Globals pointers for FSP structures */
@@ -75,6 +76,10 @@
 	UPD_DATA_REGION fsp_upd_data;
 #endif
 
+	/* Load microcode before RAM init */
+	if (IS_ENABLED(CONFIG_SUPPORT_CPU_UCODE_IN_CBFS))
+		intel_update_microcode_from_cbfs();
+
 	memset((void *)&FspRtBuffer, 0, sizeof(FSP_INIT_RT_BUFFER));
 	FspRtBuffer.Common.StackTop = (u32 *)CONFIG_RAMTOP;
 	FspInitParams.NvsBufferPtr = NULL;

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/29819
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie31acaf0fc41c51b9edf65b981d43d7732661770
Gerrit-Change-Number: 29819
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181123/a4cba0cf/attachment-0001.html>


More information about the coreboot-gerrit mailing list