hw/arm/bcm2836: Only provide "enabled-cpus" property to multicore SoCs
[qemu.git] / hw / nvram / fw_cfg-interface.c
1 /*
2 * QEMU Firmware configuration device emulation (QOM interfaces)
3 *
4 * Copyright 2020 Red Hat, Inc.
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #include "qemu/osdep.h"
10 #include "hw/nvram/fw_cfg.h"
11
12 static const TypeInfo fw_cfg_data_generator_interface_info = {
13 .parent = TYPE_INTERFACE,
14 .name = TYPE_FW_CFG_DATA_GENERATOR_INTERFACE,
15 .class_size = sizeof(FWCfgDataGeneratorClass),
16 };
17
18 static void fw_cfg_register_interfaces(void)
19 {
20 type_register_static(&fw_cfg_data_generator_interface_info);
21 }
22
23 type_init(fw_cfg_register_interfaces)