Skip to content
Snippets Groups Projects
Commit 5c34eee9 authored by Stefan Roese's avatar Stefan Roese
Browse files

Fix JFFS2 compilation problem

Patch by Stefan Roese, 12 Oct 2006
parent ea237a4d
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4: Changes since U-Boot 1.1.4:
====================================================================== ======================================================================
* Fix JFFS2 compilation problem
Patch by Stefan Roese, 12 Oct 2006
* Cleanup of NAND update patch (remove changelog from cmd_nand.c) * Cleanup of NAND update patch (remove changelog from cmd_nand.c)
Patch by Guido Classen, 10 Oct 2006 Patch by Guido Classen, 10 Oct 2006
......
...@@ -171,8 +171,8 @@ uLong ZEXPORT crc32(crc, buf, len) ...@@ -171,8 +171,8 @@ uLong ZEXPORT crc32(crc, buf, len)
return crc ^ 0xffffffffL; return crc ^ 0xffffffffL;
} }
#if ((CONFIG_COMMANDS & CFG_CMD_JFFS2) || (CONFIG_COMMANDS & CFG_CMD_NAND)) \ #if (CONFIG_COMMANDS & CFG_CMD_JFFS2) || \
&& !defined(CFG_NAND_LEGACY) ((CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY))
/* No ones complement version. JFFS2 (and other things ?) /* No ones complement version. JFFS2 (and other things ?)
* don't use ones compliment in their CRC calculations. * don't use ones compliment in their CRC calculations.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment