
28 Nov
2011
28 Nov
'11
9:53 a.m.
Hi Wolfgang,
On 11/28/11 10:18, Wolfgang Denk wrote:
Dear Igor Grinberg,
In message 1322467058-30532-1-git-send-email-grinberg@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.