From f4fe21d900cc0fd549ff1c65b7ecc3010bb50dfd Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 31 May 2022 23:43:36 +0530 Subject: soc/intel/cmn/mp_init: Reload microcode patch before post_cpus_init() This patch provides an option for CPU programming where coreboot expected to load second microcode patch after BIOS Done bit is set and before setting the BIOS Reset CPL bit. BUG=b:233199592 TEST=Build and boot google/taeko to ChromeOS. Signed-off-by: Subrata Banik Change-Id: I426b38cb1200e60398bc89515838e49ce0a98f06 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64836 Reviewed-by: Lean Sheng Tan Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/cpu/mp_init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc') diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c index 52b1494fd2..0be6e2a0b4 100644 --- a/src/soc/intel/common/block/cpu/mp_init.c +++ b/src/soc/intel/common/block/cpu/mp_init.c @@ -180,6 +180,9 @@ void before_post_cpus_init(void) { if (mp_run_on_all_cpus(&wrapper_set_bios_done, NULL) != CB_SUCCESS) printk(BIOS_ERR, "Set BIOS Done failure\n"); + + initialize_microcode(); + printk(BIOS_INFO, "%s: second patch load done\n", __func__); } /* Ensure to re-program all MTRRs based on DRAM resource settings */ -- cgit v1.2.3