diff options
author | Andrey Petrov <anpetrov@fb.com> | 2020-03-30 12:25:06 -0700 |
---|---|---|
committer | Andrey Petrov <andrey.petrov@gmail.com> | 2020-04-04 04:27:45 +0000 |
commit | 8670e829a8f2f6e56c2405333a171c2bc7cd017b (patch) | |
tree | 11bde530ae6212446d31aad71ad7d79eeac5fa5e /src/soc/intel/xeon_sp/cpx/include | |
parent | ebda03ea5637cb2dd0b7426cbac72a4738ef7233 (diff) |
soc/intel/xeon_sp/cpx: Add multi-core init
Add minimal MP init. No SMM, no turbo, not c/p states.
TEST=boot linux kernel, observe CPUs are online, schedule tasks
and perform useful work. Tested on Cedar Island CRB with only 1
socket populated
Change-Id: I0af374ab3956009e9208917d911d29eb21db6069
Signed-off-by: Andrey Petrov <anpetrov@fb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40035
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/cpx/include')
-rw-r--r-- | src/soc/intel/xeon_sp/cpx/include/soc/cpu.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/include/soc/cpu.h b/src/soc/intel/xeon_sp/cpx/include/soc/cpu.h index f33df89a60..563270d135 100644 --- a/src/soc/intel/xeon_sp/cpx/include/soc/cpu.h +++ b/src/soc/intel/xeon_sp/cpx/include/soc/cpu.h @@ -1,4 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */ -/* nothing here yet */ +#ifndef _SOC_CPU_H +#define _SOC_CPU_H + +#include <device/device.h> + +#define CPUID_COOPERLAKE_SP_A0 0x05065a + +void cpx_init_cpus(struct device *dev); + +#endif |