summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-06-07 11:53:09 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-06-07 11:53:09 +0200
commit7375c86f0b1b1ac6f71a8728c6416c99850b30d9 (patch)
treed4ef8c9d9906c0141039fccf14df7e9e286f0bcf /hw
parent0ffbba357c557d9fa5caf9476878a4b9c155a614 (diff)
downloadqemu-7375c86f0b1b1ac6f71a8728c6416c99850b30d9.tar.gz
qemu-7375c86f0b1b1ac6f71a8728c6416c99850b30d9.tar.bz2
qemu-7375c86f0b1b1ac6f71a8728c6416c99850b30d9.zip
petlogix-3adsp: Tweak displacement of cmdline and fdt blob.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/petalogix_s3adsp1800_mmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/petalogix_s3adsp1800_mmu.c b/hw/petalogix_s3adsp1800_mmu.c
index 93344b1151..cdde991aa5 100644
--- a/hw/petalogix_s3adsp1800_mmu.c
+++ b/hw/petalogix_s3adsp1800_mmu.c
@@ -185,12 +185,12 @@ petalogix_s3adsp1800_init(ram_addr_t ram_size,
boot_info.bootstrap_pc = ddr_base;
}
- boot_info.cmdline = ddr_base + kernel_size + 8192;
+ boot_info.cmdline = high + 4096;
if (kernel_cmdline && strlen(kernel_cmdline)) {
pstrcpy_targphys("cmdline", boot_info.cmdline, 256, kernel_cmdline);
}
/* Provide a device-tree. */
- boot_info.fdt = boot_info.cmdline + 256;
+ boot_info.fdt = boot_info.cmdline + 4096;
petalogix_load_device_tree(boot_info.fdt, ram_size,
0, 0,
kernel_cmdline);