From 7375c86f0b1b1ac6f71a8728c6416c99850b30d9 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Mon, 7 Jun 2010 11:53:09 +0200 Subject: [PATCH] petlogix-3adsp: Tweak displacement of cmdline and fdt blob. Signed-off-by: Edgar E. Iglesias --- hw/petalogix_s3adsp1800_mmu.c | 4 ++-- 1 file 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);