Patrick Georgi | ac95903 | 2020-05-05 22:49:26 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Ronald G. Minnich | deba4e8 | 2016-02-12 22:45:59 +0000 | [diff] [blame] | 2 | |
| 3 | #include <cpu/cpu.h> |
| 4 | #include <device/device.h> |
| 5 | |
| 6 | static void qemu_cpu_init(struct device *dev) |
| 7 | { |
| 8 | } |
| 9 | |
| 10 | static struct device_operations cpu_dev_ops = { |
| 11 | .init = qemu_cpu_init, |
| 12 | }; |
| 13 | |
Jonathan Neuschäfer | 8f06ce3 | 2017-11-20 01:56:44 +0100 | [diff] [blame] | 14 | static const struct cpu_device_id cpu_table[] = { |
Ronald G. Minnich | deba4e8 | 2016-02-12 22:45:59 +0000 | [diff] [blame] | 15 | { 0, 0 }, |
| 16 | }; |
| 17 | |
| 18 | static const struct cpu_driver driver __cpu_driver = { |
| 19 | .ops = &cpu_dev_ops, |
| 20 | .id_table = cpu_table, |
| 21 | }; |
| 22 | |
| 23 | struct chip_operations cpu_power8_qemu_ops = { |
Nicholas Sudsgaard | bfb11be | 2024-01-30 09:53:46 +0900 | [diff] [blame^] | 24 | .name = "QEMU POWER8 CPU", |
Ronald G. Minnich | deba4e8 | 2016-02-12 22:45:59 +0000 | [diff] [blame] | 25 | }; |