diff options
author | Matthew McClintock <msm@freescale.com> | 2010-07-20 23:42:58 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-07-29 18:02:12 +0900 |
commit | 655703ffbcb7a3387994dce29b09b5f9fe79042c (patch) | |
tree | 38010b46808d1f80787d810feaf21ea6be9d88f4 /kexec/arch/ppc/kexec-uImage-ppc.c | |
parent | 647f1b8496a2c6da9da2f1df7aa904bb575641e4 (diff) |
Restore kexec uImage-ppc to working state
Booting with uImage-ppc was broken by previous work, this
patch should restore it to working order
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/ppc/kexec-uImage-ppc.c')
-rw-r--r-- | kexec/arch/ppc/kexec-uImage-ppc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kexec/arch/ppc/kexec-uImage-ppc.c b/kexec/arch/ppc/kexec-uImage-ppc.c index 45cde2f..4a8d28d 100644 --- a/kexec/arch/ppc/kexec-uImage-ppc.c +++ b/kexec/arch/ppc/kexec-uImage-ppc.c @@ -133,13 +133,10 @@ static int ppc_load_bare_bits(int argc, char **argv, const char *buf, addr = dtb_addr; elf_rel_set_symbol(&info->rhdr, "dt_offset", &addr, sizeof(addr)); - addr = rmo_top; - elf_rel_set_symbol(&info->rhdr, "mem_size", &addr, sizeof(addr)); - #define PUL_STACK_SIZE (16 * 1024) addr = locate_hole(info, PUL_STACK_SIZE, 0, 0, -1, 1); addr += PUL_STACK_SIZE; - elf_rel_set_symbol(&info->rhdr, "pul_stack", &addr, sizeof(addr)); + elf_rel_set_symbol(&info->rhdr, "stack", &addr, sizeof(addr)); /* No allocation past here in order not to overwrite the stack */ #undef PUL_STACK_SIZE |