summaryrefslogtreecommitdiffstats
path: root/target/unicore32/helper.c
diff options
context:
space:
mode:
authorIgor Mammedov2017-08-24 18:31:47 +0200
committerEduardo Habkost2017-09-01 16:54:25 +0200
commit13b884e1d78591c302ea4bf429336f8ca49c4b89 (patch)
treef624adf0871f0e542a720d8521cb99ca62ae765c /target/unicore32/helper.c
parentopenrisc: replace cpu_openrisc_init() with cpu_generic_init() (diff)
downloadqemu-13b884e1d78591c302ea4bf429336f8ca49c4b89.tar.gz
qemu-13b884e1d78591c302ea4bf429336f8ca49c4b89.tar.xz
qemu-13b884e1d78591c302ea4bf429336f8ca49c4b89.zip
unicore32: replace uc32_cpu_init() with cpu_generic_init()
it's just a wrapper, drop it and use cpu_generic_init() directly Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1503592308-93913-25-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/unicore32/helper.c')
-rw-r--r--target/unicore32/helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/unicore32/helper.c b/target/unicore32/helper.c
index f9239dc7b8..309dcd1ae1 100644
--- a/target/unicore32/helper.c
+++ b/target/unicore32/helper.c
@@ -27,11 +27,6 @@
#define DPRINTF(fmt, ...) do {} while (0)
#endif
-UniCore32CPU *uc32_cpu_init(const char *cpu_model)
-{
- return UNICORE32_CPU(cpu_generic_init(TYPE_UNICORE32_CPU, cpu_model));
-}
-
#ifndef CONFIG_USER_ONLY
void helper_cp0_set(CPUUniCore32State *env, uint32_t val, uint32_t creg,
uint32_t cop)