OSDN Git Service

moxie: cleanup cpu type name composition
authorIgor Mammedov <imammedo@redhat.com>
Thu, 5 Oct 2017 13:50:49 +0000 (15:50 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 27 Oct 2017 14:03:54 +0000 (16:03 +0200)
commit0255db239eba48669f93e12974ab3d68ca5d6a13
tree4b642310e0496c4a63f980a74a017a353eb4526a
parenta7f981cc9f3e5a99c6690c144ba1d6a77394c39b
moxie: cleanup cpu type name composition

introduce MOXIE_CPU_TYPE_NAME macro and consistently use it
to construct cpu type names. While at it replace dynamic
cpu type name composition with static data.

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