]> Git Repo - qemu.git/blobdiff - hw/arm/mcimx6ul-evk.c
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20191022-2' into...
[qemu.git] / hw / arm / mcimx6ul-evk.c
index 31511059e4d70caf3a1b7d5529913b5dc950fa84..e90b393a4428bc3c0e376116ca4da308adedfd2b 100644 (file)
@@ -14,6 +14,7 @@
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx6ul.h"
 #include "hw/boards.h"
+#include "hw/qdev-properties.h"
 #include "sysemu/sysemu.h"
 #include "qemu/error-report.h"
 #include "sysemu/qtest.h"
@@ -39,10 +40,7 @@ static void mcimx6ul_evk_init(MachineState *machine)
         .loader_start = FSL_IMX6UL_MMDC_ADDR,
         .board_id = -1,
         .ram_size = machine->ram_size,
-        .kernel_filename = machine->kernel_filename,
-        .kernel_cmdline = machine->kernel_cmdline,
-        .initrd_filename = machine->initrd_filename,
-        .nb_cpus = smp_cpus,
+        .nb_cpus = machine->smp.cpus,
     };
 
     object_initialize_child(OBJECT(machine), "soc", &s->soc,  sizeof(s->soc),
@@ -71,7 +69,7 @@ static void mcimx6ul_evk_init(MachineState *machine)
     }
 
     if (!qtest_enabled()) {
-        arm_load_kernel(&s->soc.cpu[0], &boot_info);
+        arm_load_kernel(&s->soc.cpu, machine, &boot_info);
     }
 }
 
This page took 0.024389 seconds and 4 git commands to generate.