[PATCH 2/3] kexec/uImage: Recognize uImage RAM Disks
Suzuki K. Poulose
suzuki at in.ibm.com
Fri Jan 11 01:41:58 EST 2013
From: Suzuki K. Poulose <suzuki at in.ibm.com>
Add IH_TYPE_RAMDISK as a recognized image type.
Signed-off-by: Suzuki K. Poulose <suzuki at in.ibm.com>
---
kexec/kexec-uImage.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kexec/kexec-uImage.c b/kexec/kexec-uImage.c
index dcbd635..701eeb1 100644
--- a/kexec/kexec-uImage.c
+++ b/kexec/kexec-uImage.c
@@ -52,6 +52,8 @@ int uImage_probe(const unsigned char *buf, off_t len, unsigned int arch)
return -1;
}
break;
+ case IH_TYPE_RAMDISK:
+ break;
default:
printf("uImage type %d unsupported\n", header.ih_type);
return -1;
More information about the kexec
mailing list