
28 Nov
2011
28 Nov
'11
9:18 a.m.
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>" ...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Too much of anything, even love, isn't necessarily a good thing.
-- Kirk, "The Trouble with Tribbles", stardate 4525.6