diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-01 23:26:07 +0100 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-07 13:57:22 +0000 |
commit | eb76a455cd39ec59b7f2ba28baeec9538befd59e (patch) | |
tree | 51bd8418d5bf9e130c7ccbc8a9c94a5689d8bbbd /src/cpu/intel/model_f2x | |
parent | 6baee3d28729d4b924e8f793c4c7311cebf1f80a (diff) |
mb/aopen/dxplplusu: Remove board
This board use the LEGACY_SMP_INIT which is to be deprecated after
release 4.18.
Change-Id: Idf37ade31ddb55697df1a65062c092a0a485e175
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69114
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/cpu/intel/model_f2x')
-rw-r--r-- | src/cpu/intel/model_f2x/Kconfig | 7 | ||||
-rw-r--r-- | src/cpu/intel/model_f2x/Makefile.inc | 6 | ||||
-rw-r--r-- | src/cpu/intel/model_f2x/model_f2x_init.c | 46 |
3 files changed, 0 insertions, 59 deletions
diff --git a/src/cpu/intel/model_f2x/Kconfig b/src/cpu/intel/model_f2x/Kconfig deleted file mode 100644 index eb11a3338d..0000000000 --- a/src/cpu/intel/model_f2x/Kconfig +++ /dev/null @@ -1,7 +0,0 @@ -config CPU_INTEL_MODEL_F2X - bool - select ARCH_X86 - select SUPPORT_CPU_UCODE_IN_CBFS - select SMM_ASEG - select CPU_INTEL_COMMON - select SSE2 diff --git a/src/cpu/intel/model_f2x/Makefile.inc b/src/cpu/intel/model_f2x/Makefile.inc deleted file mode 100644 index fa1b51ad65..0000000000 --- a/src/cpu/intel/model_f2x/Makefile.inc +++ /dev/null @@ -1,6 +0,0 @@ -subdirs-y += ../common -subdirs-y += ../hyperthreading - -ramstage-y += model_f2x_init.c - -cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/0f-02-*) diff --git a/src/cpu/intel/model_f2x/model_f2x_init.c b/src/cpu/intel/model_f2x/model_f2x_init.c deleted file mode 100644 index 294d579f8e..0000000000 --- a/src/cpu/intel/model_f2x/model_f2x_init.c +++ /dev/null @@ -1,46 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <device/device.h> -#include <cpu/cpu.h> -#include <cpu/x86/mtrr.h> -#include <cpu/intel/microcode.h> -#include <cpu/intel/hyperthreading.h> -#include <cpu/intel/common/common.h> -#include <cpu/x86/cache.h> - -static void model_f2x_init(struct device *cpu) -{ - /* Turn on caching if we haven't already */ - enable_cache(); - - if (!intel_ht_sibling()) { - /* MTRRs are shared between threads */ - x86_setup_mtrrs(); - x86_mtrr_check(); - - /* Update the microcode */ - intel_update_microcode_from_cbfs(); - } - - /* Start up my CPU siblings */ - intel_sibling_init(cpu); -}; - -static struct device_operations cpu_dev_ops = { - .init = model_f2x_init, -}; - -static const struct cpu_device_id cpu_table[] = { - { X86_VENDOR_INTEL, 0x0f22 }, - { X86_VENDOR_INTEL, 0x0f24 }, - { X86_VENDOR_INTEL, 0x0f25 }, - { X86_VENDOR_INTEL, 0x0f26 }, - { X86_VENDOR_INTEL, 0x0f27 }, - { X86_VENDOR_INTEL, 0x0f29 }, - { 0, 0 }, -}; - -static const struct cpu_driver driver __cpu_driver = { - .ops = &cpu_dev_ops, - .id_table = cpu_table, -}; |