diff options
author | Philippe Mathieu-Daudé | 2019-08-23 16:32:44 +0200 |
---|---|---|
committer | Peter Maydell | 2019-09-03 17:20:34 +0200 |
commit | 8a863c8120994981a099aff2583d2f3b84552567 (patch) | |
tree | b80c971a1815101704b37892eac4e256bdaeb5d2 /hw/arm/digic.c | |
parent | target/arm: Fix SMMLS argument order (diff) | |
download | qemu-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/digic.c')
-rw-r--r-- | hw/arm/digic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/arm/digic.c b/hw/arm/digic.c index 4f52465875..22434a65a2 100644 --- a/hw/arm/digic.c +++ b/hw/arm/digic.c @@ -37,7 +37,8 @@ static void digic_init(Object *obj) int i; object_initialize_child(obj, "cpu", &s->cpu, sizeof(s->cpu), - "arm946-" TYPE_ARM_CPU, &error_abort, NULL); + ARM_CPU_TYPE_NAME("arm946"), + &error_abort, NULL); for (i = 0; i < DIGIC4_NB_TIMERS; i++) { #define DIGIC_TIMER_NAME_MLEN 11 |