aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/kzm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm/kzm.c')
-rw-r--r--hw/arm/kzm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c
index 0275d63..e3f7d4e 100644
--- a/hw/arm/kzm.c
+++ b/hw/arm/kzm.c
@@ -73,7 +73,7 @@ static void kzm_init(MachineState *machine)
object_initialize_child(OBJECT(machine), "soc", &s->soc, TYPE_FSL_IMX31);
- object_property_set_bool(OBJECT(&s->soc), true, "realized", &error_fatal);
+ qdev_realize(DEVICE(&s->soc), NULL, &error_fatal);
/* Check the amount of memory is compatible with the SOC */
if (machine->ram_size > (FSL_IMX31_SDRAM0_SIZE + FSL_IMX31_SDRAM1_SIZE)) {