coreboot/src/soc/intel
Subrata Banik a3c33c6e21 soc/intel/common/block/cpu: Refactor init_cpus function
This patch makes init_cpus function external so that it can be used
in below scenarios:

1. When coreboot is doing MP initialization as part of
   BS_DEV_INIT_CHIPS (exclude this call if user has selected
   USE_INTEL_FSP_MP_INIT)
2. coreboot would like to take APs control back after FSP-S has done
   with MP initialization based on user select USE_INTEL_FSP_MP_INIT

Also make sure post_cpus_init function is getting executed
unconditionally to update MTRR snapshot on all cores.

Change-Id: Idc03090360f34df074b33ba0fced2d192edf068a
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44076
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2020-08-06 04:24:16 +00:00
..
apollolake {nb,soc}/intel: Use get_current_microcode_rev() for ucode version 2020-08-05 15:36:38 +00:00
baytrail {sb,soc}/intel/*/acpi/lpc.asl: Drop commented-out code 2020-08-05 15:46:17 +00:00
braswell {sb,soc}/intel/*/acpi/lpc.asl: Drop commented-out code 2020-08-05 15:46:17 +00:00
broadwell {nb,soc}/intel: Use get_current_microcode_rev() for ucode version 2020-08-05 15:36:38 +00:00
cannonlake {nb,soc}/intel: Use get_current_microcode_rev() for ucode version 2020-08-05 15:36:38 +00:00
common soc/intel/common/block/cpu: Refactor init_cpus function 2020-08-06 04:24:16 +00:00
denverton_ns cpu,soc/intel: Drop select SMP 2020-07-26 20:59:52 +00:00
icelake {nb,soc}/intel: Use get_current_microcode_rev() for ucode version 2020-08-05 15:36:38 +00:00
jasperlake {nb,soc}/intel: Use get_current_microcode_rev() for ucode version 2020-08-05 15:36:38 +00:00
quark src: Make HAVE_CF9_RESET set the FADT reset register 2020-07-20 13:23:13 +00:00
skylake {nb,soc}/intel: Use get_current_microcode_rev() for ucode version 2020-08-05 15:36:38 +00:00
tigerlake {nb,soc}/intel: Use get_current_microcode_rev() for ucode version 2020-08-05 15:36:38 +00:00
xeon_sp soc/intel/xeon_sp/cpx: configure STACK_SIZE 2020-08-03 05:35:12 +00:00
Kconfig fsp2_0: Gather Kconfig declarations 2020-04-05 23:26:24 +00:00