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:
Edgar E. Iglesias 2010-07-31 00:42:07 +02:00
parent 708f2ada7d
commit 811976dcd3

View File

@ -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;