]> Git Repo - qemu.git/blobdiff - hw/microblaze/boot.c
microblaze: boot: Don't hack the elf entry point
[qemu.git] / hw / microblaze / boot.c
index deeecfca6ffa9b13cfb04cabe92b35498b4f1fee..6bf36d046fdc313d92ac936766adec2d7048fcbc 100644 (file)
@@ -148,7 +148,7 @@ void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base,
                                    big_endian, ELF_MACHINE, 0);
         }
         /* Always boot into physical ram.  */
-        boot_info.bootstrap_pc = ddr_base + (entry & 0x0fffffff);
+        boot_info.bootstrap_pc = (uint32_t)entry;
 
         /* If it wasn't an ELF image, try an u-boot image.  */
         if (kernel_size < 0) {
This page took 0.02244 seconds and 4 git commands to generate.