Skip to content

Commit

Permalink
target/riscv: remove CONFIG_TCG, as it is always TCG
Browse files Browse the repository at this point in the history
for now only TCG is allowed as an accelerator for riscv,
so remove the CONFIG_TCG use.

Signed-off-by: Claudio Fontana <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
  • Loading branch information
Claudio Fontana authored and rth7680 committed Feb 5, 2021
1 parent e9e51b7 commit 6a3d2e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions target/riscv/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,10 +617,9 @@ static void riscv_cpu_class_init(ObjectClass *c, void *data)
#endif
cc->gdb_arch_name = riscv_gdb_arch_name;
cc->gdb_get_dynamic_xml = riscv_gdb_get_dynamic_xml;
#ifdef CONFIG_TCG
cc->tcg_ops.initialize = riscv_translate_init;
cc->tlb_fill = riscv_cpu_tlb_fill;
#endif

device_class_set_props(dc, riscv_cpu_properties);
}

Expand Down

0 comments on commit 6a3d2e7

Please sign in to comment.