diff options
Diffstat (limited to 'kexec')
-rw-r--r-- | kexec/kexec-uImage.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kexec/kexec-uImage.c b/kexec/kexec-uImage.c index 83e7910..3bc85c5 100644 --- a/kexec/kexec-uImage.c +++ b/kexec/kexec-uImage.c @@ -39,7 +39,11 @@ int uImage_probe(const unsigned char *buf, off_t len, unsigned int arch) return -1; } #endif - if (header.ih_type != IH_TYPE_KERNEL) { + switch (header.ih_type) { + case IH_TYPE_KERNEL: + case IH_TYPE_KERNEL_NOLOAD: + break; + default: printf("uImage type %d unsupported\n", header.ih_type); return -1; } |