mb/starlabs/byte: Update the VBT from 249 to 251
[coreboot2.git] / src / soc / amd / genoa_poc / cpu.c
blob241bec21fde8b26bcc0c9c2822867395abac5dcd
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <amdblocks/cpu.h>
4 #include <amdblocks/mca.h>
5 #include <cpu/amd/microcode.h>
6 #include <cpu/cpu.h>
7 #include <device/device.h>
8 #include <soc/cpu.h>
10 static void model_19_init(struct device *dev)
12 check_mca();
13 set_cstate_io_addr();
15 amd_apply_microcode_patch();
18 static struct device_operations cpu_dev_ops = {
19 .init = model_19_init,
22 static struct cpu_device_id cpu_table[] = {
23 { X86_VENDOR_AMD, GENOA_A0_CPUID, CPUID_ALL_STEPPINGS_MASK },
24 { X86_VENDOR_AMD, GENOA_B0_CPUID, CPUID_ALL_STEPPINGS_MASK },
25 CPU_TABLE_END
28 static const struct cpu_driver model_19 __cpu_driver = {
29 .ops = &cpu_dev_ops,
30 .id_table = cpu_table,