summaryrefslogtreecommitdiff
path: root/hw/arm
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-10-28 14:12:31 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-10-28 15:51:27 +0100
commit2aae15c679c1f81aeff3bd489c62778a560b7cf5 (patch)
tree970668ddf7f4a4af914b0545fabced26627d3919 /hw/arm
parentfb70029b5099e955e3356a16bcb1c63ea99d7528 (diff)
downloadqemu-2aae15c679c1f81aeff3bd489c62778a560b7cf5.tar.gz
qemu-2aae15c679c1f81aeff3bd489c62778a560b7cf5.tar.bz2
qemu-2aae15c679c1f81aeff3bd489c62778a560b7cf5.zip
arm: cubieboard: Add support for initrd
Signed-off-by: Guenter Roeck <linux@roeck-us.net> Message-id: 1477361131-18752-1-git-send-email-linux@roeck-us.net Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm')
-rw-r--r--hw/arm/cubieboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c
index fbd78ed01c..dd19ba3c99 100644
--- a/hw/arm/cubieboard.c
+++ b/hw/arm/cubieboard.c
@@ -74,6 +74,7 @@ static void cubieboard_init(MachineState *machine)
cubieboard_binfo.ram_size = machine->ram_size;
cubieboard_binfo.kernel_filename = machine->kernel_filename;
cubieboard_binfo.kernel_cmdline = machine->kernel_cmdline;
+ cubieboard_binfo.initrd_filename = machine->initrd_filename;
arm_load_kernel(&s->a10->cpu, &cubieboard_binfo);
}