diff mbox

arm: cubieboard: Add support for initrd

Message ID 1477361131-18752-1-git-send-email-linux@roeck-us.net (mailing list archive)
State New, archived
Headers show

Commit Message

Guenter Roeck Oct. 25, 2016, 2:05 a.m. UTC
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 hw/arm/cubieboard.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Maydell Oct. 25, 2016, 11:12 a.m. UTC | #1
On 25 October 2016 at 03:05, Guenter Roeck <linux@roeck-us.net> wrote:
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>  hw/arm/cubieboard.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c
> index fbd78ed..dd19ba3 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);
>  }
>
> --
> 2.5.0



Applied to target-arm.next, thanks.

-- PMM
diff mbox

Patch

diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c
index fbd78ed..dd19ba3 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);
 }