diff options
author | Suzuki K. Poulose <suzuki@in.ibm.com> | 2013-03-06 14:10:33 +0530 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-03-08 13:57:30 +0900 |
commit | 99a3a977990619cbd179b2b1435989785c9ee919 (patch) | |
tree | c73d87f8e4047acd89f5fab6321e8b8c5a157eb5 /include | |
parent | 90f7609a739d24faffab41422185b9f1a65573da (diff) |
kexec/uImage: Recognize uImage RAM Disks
Add IH_TYPE_RAMDISK as a recognized image type.
uImage_load shouldn't decompress the RAMDISK type images, since
uboot doesn't do it.
Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/kexec-uImage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kexec-uImage.h b/include/kexec-uImage.h index 266ca73..4725157 100644 --- a/include/kexec-uImage.h +++ b/include/kexec-uImage.h @@ -10,5 +10,6 @@ struct Image_info { int uImage_probe(const unsigned char *buf, off_t len, unsigned int arch); int uImage_probe_kernel(const unsigned char *buf, off_t len, unsigned int arch); +int uImage_probe_ramdisk(const unsigned char *buf, off_t len, unsigned int arch); int uImage_load(const unsigned char *buf, off_t len, struct Image_info *info); #endif |