diff options
Diffstat (limited to 'hw/tricore')
-rw-r--r-- | hw/tricore/tricore_testboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tricore/tricore_testboard.c b/hw/tricore/tricore_testboard.c index 6c574231d5..3fcd8bb70e 100644 --- a/hw/tricore/tricore_testboard.c +++ b/hw/tricore/tricore_testboard.c @@ -74,7 +74,7 @@ static void tricore_testboard_init(MachineState *machine, int board_id) if (!machine->cpu_model) { machine->cpu_model = "tc1796"; } - cpu = cpu_tricore_init(machine->cpu_model); + cpu = TRICORE_CPU(cpu_generic_init(TYPE_TRICORE_CPU, machine->cpu_model)); if (!cpu) { error_report("Unable to find CPU definition"); exit(1); |