blob: 8cde9b35ba9322aa575c01496eeefc439e3b4a21 [file] [log] [blame]
Patrick Georgiac959032020-05-05 22:49:26 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Ronald G. Minnichdeba4e82016-02-12 22:45:59 +00002
3#include <cpu/cpu.h>
4#include <device/device.h>
5
6static void qemu_cpu_init(struct device *dev)
7{
8}
9
10static struct device_operations cpu_dev_ops = {
11 .init = qemu_cpu_init,
12};
13
Jonathan Neuschäfer8f06ce32017-11-20 01:56:44 +010014static const struct cpu_device_id cpu_table[] = {
Ronald G. Minnichdeba4e82016-02-12 22:45:59 +000015 { 0, 0 },
16};
17
18static const struct cpu_driver driver __cpu_driver = {
19 .ops = &cpu_dev_ops,
20 .id_table = cpu_table,
21};
22
23struct chip_operations cpu_power8_qemu_ops = {
Nicholas Sudsgaardbfb11be2024-01-30 09:53:46 +090024 .name = "QEMU POWER8 CPU",
Ronald G. Minnichdeba4e82016-02-12 22:45:59 +000025};