diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2010-01-19 17:37:44 +0100 |
---|---|---|
committer | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2010-03-07 10:17:48 +0100 |
commit | 66a33d1e1625e136d458f964e9679e606ce9a409 (patch) | |
tree | 1b1ebd742c4ef355765e434ef7529136a1ea7b9c /kexec/arch/ppc/kexec-ppc.h | |
parent | e176002f2930d3dfef01eb0e997dd86731bb8fed (diff) |
powerpc32: add support for uImage
On PowerPC the uImage usually contains the compressed "final" kernel and
not a tiny wrapper which relocates itself und uncomprosses the final
kernel to its final position. Instead we uncompress the gzip image and
put it the its final position.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'kexec/arch/ppc/kexec-ppc.h')
-rw-r--r-- | kexec/arch/ppc/kexec-ppc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kexec/arch/ppc/kexec-ppc.h b/kexec/arch/ppc/kexec-ppc.h index 1b2b015..6cec467 100644 --- a/kexec/arch/ppc/kexec-ppc.h +++ b/kexec/arch/ppc/kexec-ppc.h @@ -21,6 +21,11 @@ int elf_ppc_load(int argc, char **argv, const char *buf, off_t len, struct kexec_info *info); void elf_ppc_usage(void); +int uImage_ppc_probe(const char *buf, off_t len); +int uImage_ppc_load(int argc, char **argv, const char *buf, off_t len, + struct kexec_info *info); +void uImage_ppc_usage(void); + int dol_ppc_probe(const char *buf, off_t len); int dol_ppc_load(int argc, char **argv, const char *buf, off_t len, struct kexec_info *info); |