diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-04-16 05:52:29 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-17 07:46:14 +1000 |
commit | b18796d32a35ca4d996c584c3bb6d0a4f8a7d310 (patch) | |
tree | 99c03eaf2eda0da6d5766d2cedd961aa10cf7ff2 /kernel/taskstats.c | |
parent | 366234f657879aeb7a1e2ca582f2f24f3fae9269 (diff) |
[POWERPC] bootwrapper: Use physical address in PHDR for uImage
Now that we properly set the physical address in the program header of the
vmlinux ELF we can extract it to properly set the load and entry point for
u-boot uImages. Before we always hard coded the load & entry point to 0.
However there are situations that the kernel may be built with a non-zero
physical address.
We use objdump to extract the PHDR. We assume that there is only one
PHDR in the vmlinux of type LOAD.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'kernel/taskstats.c')
0 files changed, 0 insertions, 0 deletions