aboutsummaryrefslogtreecommitdiff
path: root/hw/strongarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/strongarm.c')
-rw-r--r--hw/strongarm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/strongarm.c b/hw/strongarm.c
index 7c75bb912d..69c117906c 100644
--- a/hw/strongarm.c
+++ b/hw/strongarm.c
@@ -1511,7 +1511,8 @@ StrongARMState *sa1110_init(MemoryRegion *sysmem,
exit(1);
}
- memory_region_init_ram(&s->sdram, NULL, "strongarm.sdram", sdram_size);
+ memory_region_init_ram(&s->sdram, "strongarm.sdram", sdram_size);
+ vmstate_register_ram_global(&s->sdram);
memory_region_add_subregion(sysmem, SA_SDCS0, &s->sdram);
pic = arm_pic_init_cpu(s->env);