diff options
-rw-r--r-- | hw/petalogix_s3adsp1800_mmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/petalogix_s3adsp1800_mmu.c b/hw/petalogix_s3adsp1800_mmu.c index 70b6a36e1..cd043d371 100644 --- a/hw/petalogix_s3adsp1800_mmu.c +++ b/hw/petalogix_s3adsp1800_mmu.c @@ -184,6 +184,7 @@ petalogix_s3adsp1800_init(ram_addr_t ram_size, kernel_size = load_image_targphys(kernel_filename, ddr_base, ram_size); boot_info.bootstrap_pc = ddr_base; + high = (ddr_base + kernel_size + 3) & ~3; } boot_info.cmdline = high + 4096; |