m68k: cleanup cpu type name composition
commitf61797bd947cff86b12036917b35ebc38628e4df
authorIgor Mammedov <imammedo@redhat.com>
Thu, 5 Oct 2017 13:50:45 +0000 (5 15:50 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 27 Oct 2017 14:03:54 +0000 (27 16:03 +0200)
tree37f64dbc73b8e665b47c6d7ce7306f1cb15d0de2
parent6e0f9a23445c72d654bbb6a7c37b00372f1de623
m68k: cleanup cpu type name composition

use new M68K_CPU_TYPE_NAME to compose CPU type names
and get rid of intermediate M68kCPUInfo/register_cpu_type()
which is replaced by static TypeInfo array.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <1507211474-188400-12-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/m68k/cpu.c
target/m68k/cpu.h