]> Git Repo - qemu.git/blobdiff - hw/m68k/mcf5208.c
Merge remote-tracking branch 'remotes/kraxel/tags/vga-20180703-pull-request' into...
[qemu.git] / hw / m68k / mcf5208.c
index ae3dcc98c3db62bf9eacfd2c077811c5346613d4..0f2245dd81773ecdc23bc1474600ae4c5f9aa021 100644 (file)
@@ -6,6 +6,7 @@
  * This code is licensed under the GPL
  */
 #include "qemu/osdep.h"
+#include "qemu/units.h"
 #include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "qemu-common.h"
@@ -241,7 +242,7 @@ static void mcf5208evb_init(MachineState *machine)
     memory_region_add_subregion(address_space_mem, 0x40000000, ram);
 
     /* Internal SRAM.  */
-    memory_region_init_ram(sram, NULL, "mcf5208.sram", 16384, &error_fatal);
+    memory_region_init_ram(sram, NULL, "mcf5208.sram", 16 * KiB, &error_fatal);
     memory_region_add_subregion(address_space_mem, 0x80000000, sram);
 
     /* Internal peripherals.  */
This page took 0.025521 seconds and 4 git commands to generate.