qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/4] uImage: implement gzip support


From: François Revol
Subject: Re: [Qemu-devel] [PATCH 2/4] uImage: implement gzip support
Date: Mon, 17 Nov 2008 22:30:52 +0100 CET

> -    /* TODO: Implement compressed images.  */
> -    if (hdr->ih_comp != IH_COMP_NONE) {
> -        fprintf(stderr, "Unable to load compressed u-boot images\
> n");
> +    /* TODO bzip2 support */
> +    if (hdr->ih_comp == IH_COMP_BZIP2) {
> +        fprintf(stderr, "Unable to load bzip2 compressed u-boot
> images\n");

Shouldn't it still be testing for !=NONE && !=GZIP ?
In case the header is incorrect or new compressions are added ?

François.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]