qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH microblaze v1 3/3] microblaze: Support loading of u-


From: Peter Crosthwaite
Subject: [Qemu-devel] [PATCH microblaze v1 3/3] microblaze: Support loading of u-boot initrd images
Date: Mon, 28 Apr 2014 17:13:33 -0700

From: "Edgar E. Iglesias" <address@hidden>

As was done for ARM recently in commit
fd76663e3fe59dc7f7d5c439561b74f472727137.

Signed-off-by: Edgar E. Iglesias <address@hidden>
[ PC Changes:
 * Expanded commit message
]
Signed-off-by: Peter Crosthwaite <address@hidden>
---

 hw/microblaze/boot.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/hw/microblaze/boot.c b/hw/microblaze/boot.c
index 7e7b42f..f9de859 100644
--- a/hw/microblaze/boot.c
+++ b/hw/microblaze/boot.c
@@ -174,9 +174,10 @@ void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr 
ddr_base,
             high = ROUND_UP(high + kernel_size, 4);
             boot_info.initrd_start = high;
             initrd_offset = boot_info.initrd_start - ddr_base;
-            initrd_size = load_image_targphys(initrd_filename,
-                                              boot_info.initrd_start,
-                                              ram_size - initrd_offset);
+
+            initrd_size = load_ramdisk(initrd_filename,
+                                       boot_info.initrd_start,
+                                       ram_size - initrd_offset);
             if (initrd_size < 0) {
                 error_report("qemu: could not load initrd '%s'\n",
                              initrd_filename);
-- 
1.9.2.1.g06c4abd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]