soc/intel/apollolake: Remove duplication of find_microcode_patch() code
Since get_microcode_info() is aleady searching for the microcode in cbfs, we can just add a intel_microcode_load_unlocked() call here to update the microcode. No need to duplicate finding microcode step during pre_mp_init() function. Change-Id: I525cab0ecc7826554f0a1209862e6357d1c7a9a6 Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com> Reviewed-on: https://review.coreboot.org/20088 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com>
This commit is contained in:
parent
682355ab16
commit
97daf98806
|
@ -118,9 +118,6 @@ static void pre_mp_init(void)
|
|||
{
|
||||
x86_setup_mtrrs_with_detect();
|
||||
x86_mtrr_check();
|
||||
|
||||
/* Make sure BSP is using the microcode from cbfs */
|
||||
intel_update_microcode_from_cbfs();
|
||||
}
|
||||
|
||||
/* Find CPU topology */
|
||||
|
@ -140,6 +137,9 @@ static void get_microcode_info(const void **microcode, int *parallel)
|
|||
{
|
||||
*microcode = intel_microcode_find();
|
||||
*parallel = 1;
|
||||
|
||||
/* Make sure BSP is using the microcode from cbfs */
|
||||
intel_microcode_load_unlocked(*microcode);
|
||||
}
|
||||
|
||||
static void get_smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
|
||||
|
|
Loading…
Reference in New Issue