Ronald G. Minnich | deba4e8 | 2016-02-12 22:45:59 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License, or |
| 7 | * (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | */ |
| 14 | |
| 15 | #include <cpu/cpu.h> |
| 16 | #include <device/device.h> |
| 17 | |
| 18 | static void qemu_cpu_init(struct device *dev) |
| 19 | { |
| 20 | } |
| 21 | |
| 22 | static struct device_operations cpu_dev_ops = { |
| 23 | .init = qemu_cpu_init, |
| 24 | }; |
| 25 | |
| 26 | static struct cpu_device_id cpu_table[] = { |
| 27 | { 0, 0 }, |
| 28 | }; |
| 29 | |
| 30 | static const struct cpu_driver driver __cpu_driver = { |
| 31 | .ops = &cpu_dev_ops, |
| 32 | .id_table = cpu_table, |
| 33 | }; |
| 34 | |
| 35 | struct chip_operations cpu_power8_qemu_ops = { |
| 36 | CHIP_NAME("QEMU POWER8 CPU") |
| 37 | }; |