]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/lm32/milkymist.c
Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2019-03-08' into staging
[mirror_qemu.git] / hw / lm32 / milkymist.c
index 26a2398354f2d824441a3b6d672355dc7ee3a0b5..538f33b946ce48dac63f660088bd4f4fd976793d 100644 (file)
@@ -27,7 +27,6 @@
 #include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/qtest.h"
-#include "hw/devices.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "elf.h"
@@ -176,7 +175,8 @@ milkymist_init(MachineState *machine)
         uint64_t entry;
 
         /* Boots a kernel elf binary.  */
-        kernel_size = load_elf(kernel_filename, NULL, NULL, &entry, NULL, NULL,
+        kernel_size = load_elf(kernel_filename, NULL, NULL, NULL,
+                               &entry, NULL, NULL,
                                1, EM_LATTICEMICO32, 0, 0);
         reset_info->bootstrap_pc = entry;