[PATCH 2/3] kexec/uImage: Recognize uImage RAM Disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Suzuki K. Poulose <suzuki@xxxxxxxxxx>

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;




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux