Hi Marek, Wolfgang,

On Tue, Mar 13, 2012 at 11:13 AM, Marek Vasut <ma...@denx.de> wrote:
> Dear Wolfgang Denk,
>
>>
>> While we are at it:
>>
>> +     zi = (struct zimage_header *)images->ep;
>> +
>> +     if (zi->zi_magic != LINUX_ARM_ZIMAGE_MAGIC) {
>
> This gave me an idea ... this might be how to check for zImage inside bootm 
> and
> be done with it. Simply squash those two together.

While we are on the subject - Do either of you think support for the x86
zimage/bzImage format should end up here in common code? Not that the x86
(b)zImage header is unique (see arch/x86/include/asm/bootparam.h) and
decompressing vmlinux out of an x86 (b)zImage is non-trivial given the
header and decompression stub

Regards,

Graeme
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to