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 <subratabanik@google.com> Change-Id: I426b38cb1200e60398bc89515838e49ce0a98f06 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64836 Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0876103545
commit
f4fe21d900
|
@ -180,6 +180,9 @@ void before_post_cpus_init(void)
|
||||||
{
|
{
|
||||||
if (mp_run_on_all_cpus(&wrapper_set_bios_done, NULL) != CB_SUCCESS)
|
if (mp_run_on_all_cpus(&wrapper_set_bios_done, NULL) != CB_SUCCESS)
|
||||||
printk(BIOS_ERR, "Set BIOS Done failure\n");
|
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 */
|
/* Ensure to re-program all MTRRs based on DRAM resource settings */
|
||||||
|
|
Loading…
Reference in New Issue