diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-12-16 10:22:32 -0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2020-12-17 21:56:44 -0800 |
commit | dc4d4aaee31cd3ac4020d3b15729f0a104ce8862 (patch) | |
tree | 0aac58cd39025f1e44a1f366a1c2e4386d7b8347 /hw/riscv | |
parent | c0a635f3973d974befb954463287786fd988bb64 (diff) | |
download | qemu-dc4d4aaee31cd3ac4020d3b15729f0a104ce8862.zip qemu-dc4d4aaee31cd3ac4020d3b15729f0a104ce8862.tar.gz qemu-dc4d4aaee31cd3ac4020d3b15729f0a104ce8862.tar.bz2 |
riscv: spike: Remove target macro conditionals
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Message-id: 04ac7fba2348c92f296a5e6a9959ac72b77ae4c6.1608142916.git.alistair.francis@wdc.com
Diffstat (limited to 'hw/riscv')
-rw-r--r-- | hw/riscv/spike.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/riscv/spike.c b/hw/riscv/spike.c index facac6e..29f07f4 100644 --- a/hw/riscv/spike.c +++ b/hw/riscv/spike.c @@ -317,7 +317,7 @@ static void spike_machine_class_init(ObjectClass *oc, void *data) mc->init = spike_board_init; mc->max_cpus = SPIKE_CPUS_MAX; mc->is_default = true; - mc->default_cpu_type = SPIKE_V1_10_0_CPU; + mc->default_cpu_type = TYPE_RISCV_CPU_BASE; mc->possible_cpu_arch_ids = riscv_numa_possible_cpu_arch_ids; mc->cpu_index_to_instance_props = riscv_numa_cpu_index_to_props; mc->get_default_cpu_node_id = riscv_numa_get_default_cpu_node_id; |