[U-Boot] [PATCH] tools/envcrc: fix compile breakage
Igor Grinberg
grinberg at compulab.co.il
Mon Nov 28 09:53:37 CET 2011
Hi Wolfgang,
On 11/28/11 10:18, Wolfgang Denk wrote:
> Dear Igor Grinberg,
>
> In message <1322467058-30532-1-git-send-email-grinberg at compulab.co.il> you wrote:
>> When ENV_IS_EMBEDDED is not set, but CONFIG_BUILD_ENVCRC is set,
>> the environment.h file does not get included resulting in unrecognized
>> env_t type.
>> Fix this by moving the include directive.
>
> ...
>> -extern uint32_t crc32 (uint32_t, const unsigned char *, unsigned int);
> ...
>> +extern uint32_t crc32 (uint32_t, const unsigned char *, unsigned int);
>
> Also, instead of moving this line, you should rather insert something
> like "#include <u-boot/crc.h>" ...
I had no intend to clean this file,
but I can do this change in a separate patch.
--
Regards,
Igor.
More information about the U-Boot
mailing list