mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
Fix JFFS2 compilation problem
Patch by Stefan Roese, 12 Oct 2006
This commit is contained in:
parent
ea237a4d25
commit
5c34eee94d
2 changed files with 5 additions and 2 deletions
|
@ -171,8 +171,8 @@ uLong ZEXPORT crc32(crc, buf, len)
|
|||
return crc ^ 0xffffffffL;
|
||||
}
|
||||
|
||||
#if ((CONFIG_COMMANDS & CFG_CMD_JFFS2) || (CONFIG_COMMANDS & CFG_CMD_NAND)) \
|
||||
&& !defined(CFG_NAND_LEGACY)
|
||||
#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) || \
|
||||
((CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY))
|
||||
|
||||
/* No ones complement version. JFFS2 (and other things ?)
|
||||
* don't use ones compliment in their CRC calculations.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue