Felix Held | 060b8ad | 2021-02-05 22:51:33 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <console/console.h> |
| 4 | #include <cpu/cpu.h> |
| 5 | #include <device/device.h> |
| 6 | #include <soc/cpu.h> |
| 7 | |
| 8 | static void zen_2_3_init(struct device *dev) |
| 9 | { |
| 10 | } |
| 11 | |
| 12 | static struct device_operations cpu_dev_ops = { |
| 13 | .init = zen_2_3_init, |
| 14 | }; |
| 15 | |
| 16 | static struct cpu_device_id cpu_table[] = { |
| 17 | { X86_VENDOR_AMD, CEZANNE_A0_CPUID}, |
| 18 | { 0, 0 }, |
| 19 | }; |
| 20 | |
| 21 | static const struct cpu_driver zen_2_3 __cpu_driver = { |
| 22 | .ops = &cpu_dev_ops, |
| 23 | .id_table = cpu_table, |
| 24 | }; |