unicore32: cleanup cpu type name composition
authorIgor Mammedov <imammedo@redhat.com>
Thu, 5 Oct 2017 13:51:01 +0000 (15:51 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 27 Oct 2017 14:04:27 +0000 (16:04 +0200)
commit6a8268664736cf74aa2f034df0dd6cebc3bb23d9
tree596294c4784a3aa141b19331edbe1d5d2efd7015
parentf83eb10d79d54c71db14567248ed228c5c3aa444
unicore32: cleanup cpu type name composition

use new UNICORE32_CPU_TYPE_NAME to compose CPU type
name and get rid of intermediate
   UniCore32CPUInfo/uc32_cpu_register_types()
which is replaced by static TypeInfo array and
type_init_from_array()

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1507211474-188400-28-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/unicore32/cpu.c
target/unicore32/cpu.h