diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-07-31 00:42:07 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-07-31 00:42:07 +0200 |
commit | 811976dcd36e87adab53bb3eb0efb0fe8a4f41ba (patch) | |
tree | 528b09a96c4f21585394078f1d911ec6131f6624 /hw | |
parent | 708f2ada7dccbc942fd5e188c4246be8a0c0394f (diff) | |
download | qemu-811976dcd36e87adab53bb3eb0efb0fe8a4f41ba.zip qemu-811976dcd36e87adab53bb3eb0efb0fe8a4f41ba.tar.gz qemu-811976dcd36e87adab53bb3eb0efb0fe8a4f41ba.tar.bz2 |
xilinx-s3adsp: Fix loading of raw binaries.
Set high to a word aligned address beyond loaded image.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw')
-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 70b6a36..cd043d3 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; |