1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <amdblocks/cpu.h>
4 #include <amdblocks/mca.h>
5 #include <cpu/amd/microcode.h>
7 #include <device/device.h>
10 static void model_19_init(struct device
*dev
)
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
},
28 static const struct cpu_driver model_19 __cpu_driver
= {
30 .id_table
= cpu_table
,