summaryrefslogtreecommitdiffstats
path: root/hw/arm/fsl-imx25.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2019-08-23 16:32:44 +0200
committerPeter Maydell2019-09-03 17:20:34 +0200
commit8a863c8120994981a099aff2583d2f3b84552567 (patch)
treeb80c971a1815101704b37892eac4e256bdaeb5d2 /hw/arm/fsl-imx25.c
parenttarget/arm: Fix SMMLS argument order (diff)
downloadqemu-8a863c8120994981a099aff2583d2f3b84552567.tar.gz
qemu-8a863c8120994981a099aff2583d2f3b84552567.tar.xz
qemu-8a863c8120994981a099aff2583d2f3b84552567.zip
hw/arm: Use ARM_CPU_TYPE_NAME() macro when appropriate
Commit ba1ba5cca introduce the ARM_CPU_TYPE_NAME() macro. Unify the code base by use it in all places. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190823143249.8096-2-philmd@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/fsl-imx25.c')
-rw-r--r--hw/arm/fsl-imx25.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/fsl-imx25.c b/hw/arm/fsl-imx25.c
index 532d088298..2b2fdb203a 100644
--- a/hw/arm/fsl-imx25.c
+++ b/hw/arm/fsl-imx25.c
@@ -36,7 +36,7 @@ static void fsl_imx25_init(Object *obj)
FslIMX25State *s = FSL_IMX25(obj);
int i;
- object_initialize(&s->cpu, sizeof(s->cpu), "arm926-" TYPE_ARM_CPU);
+ object_initialize(&s->cpu, sizeof(s->cpu), ARM_CPU_TYPE_NAME("arm926"));
sysbus_init_child_obj(obj, "avic", &s->avic, sizeof(s->avic),
TYPE_IMX_AVIC);