summaryrefslogtreecommitdiffstats
path: root/include/hw/arm
diff options
context:
space:
mode:
authorAndreas Färber2015-04-10 16:37:56 +0200
committerPeter Maydell2015-04-13 12:37:10 +0200
commit342b0711cd62ddc08d334d879eac57b68f925fd5 (patch)
tree3dede11949e34869e78423f26895cd61748b6408 /include/hw/arm
parentcris: memory: Replace memory_region_init_ram with memory_region_allocate_syst... (diff)
downloadqemu-342b0711cd62ddc08d334d879eac57b68f925fd5.tar.gz
qemu-342b0711cd62ddc08d334d879eac57b68f925fd5.tar.xz
qemu-342b0711cd62ddc08d334d879eac57b68f925fd5.zip
stm32f205: Fix SoC type name
The type name for the SoC device, unlike those of its sub-devices, did not follow the QOM naming conventions. While the usage is internal only, this is exposed through QMP and HMP, so fix it before release. Cc: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Alistair Francis <alistair@alistair23.me> Message-id: 1428676676-23056-1-git-send-email-afaerber@suse.de Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/stm32f205_soc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/arm/stm32f205_soc.h b/include/hw/arm/stm32f205_soc.h
index 3cda17018d..0390eff807 100644
--- a/include/hw/arm/stm32f205_soc.h
+++ b/include/hw/arm/stm32f205_soc.h
@@ -29,7 +29,7 @@
#include "hw/timer/stm32f2xx_timer.h"
#include "hw/char/stm32f2xx_usart.h"
-#define TYPE_STM32F205_SOC "stm32f205_soc"
+#define TYPE_STM32F205_SOC "stm32f205-soc"
#define STM32F205_SOC(obj) \
OBJECT_CHECK(STM32F205State, (obj), TYPE_STM32F205_SOC)