mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 23:33:51 +08:00
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>
This commit is contained in:
parent
708f2ada7d
commit
811976dcd3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user