soc/intel/skylake: Remove redundant mca_configure() in ramstage

This patch removes redundant mca_configure() function call
from ramstage to clear machine check exception. First time it's
getting called from soc_core_init() function inside cpu.c file.

TEST=Build and boot SKL/KBL/AML platform without any machine-check
exception.

Change-Id: I7e54fd07816c6317588ab6db06365937c4300ccd
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32553
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
This commit is contained in:
Subrata Banik 2019-05-03 20:07:56 +05:30
parent b461865577
commit 7196be433e
1 changed files with 0 additions and 4 deletions

View File

@ -20,7 +20,6 @@
#include <bootstate.h> #include <bootstate.h>
#include <console/console.h> #include <console/console.h>
#include <console/post_codes.h> #include <console/post_codes.h>
#include <cpu/x86/mp.h>
#include <cpu/x86/smm.h> #include <cpu/x86/smm.h>
#include <device/pci.h> #include <device/pci.h>
#include <intelblocks/cpulib.h> #include <intelblocks/cpulib.h>
@ -142,9 +141,6 @@ static void soc_finalize(void *unused)
pch_finalize_script(dev); pch_finalize_script(dev);
printk(BIOS_DEBUG, "Clearing MCA.\n");
mp_run_on_all_cpus(mca_configure, NULL, 17 * USECS_PER_SEC);
soc_lockdown(dev); soc_lockdown(dev);
printk(BIOS_DEBUG, "Finalizing SMM.\n"); printk(BIOS_DEBUG, "Finalizing SMM.\n");