summaryrefslogtreecommitdiff
path: root/lib_generic/crc32.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-26 00:34:42 +0200
committerWolfgang Denk <wd@denx.de>2008-04-26 00:34:42 +0200
commit7ed4011733e7dca8f64d21291e4294662f7dc3e2 (patch)
treed203cf6d8689ccb9974aacd783d1dfa2cfd4071f /lib_generic/crc32.c
parentf9204e15173834ff8d123e36279ce49c3c6c74fc (diff)
downloadu-boot-imx-7ed4011733e7dca8f64d21291e4294662f7dc3e2.zip
u-boot-imx-7ed4011733e7dca8f64d21291e4294662f7dc3e2.tar.gz
u-boot-imx-7ed4011733e7dca8f64d21291e4294662f7dc3e2.tar.bz2
Coding Style cleanup, update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_generic/crc32.c')
-rw-r--r--lib_generic/crc32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c
index 57c6d66..64f66ed 100644
--- a/lib_generic/crc32.c
+++ b/lib_generic/crc32.c
@@ -54,7 +54,7 @@ local void make_crc_table()
{
uint32_t c;
int n, k;
- uLong poly; /* polynomial exclusive-or pattern */
+ uLong poly; /* polynomial exclusive-or pattern */
/* terms of polynomial defining this crc (except x^32): */
static const Byte p[] = {0,1,2,4,5,7,8,10,11,12,16,22,23,26};
@@ -220,7 +220,7 @@ uint32_t ZEXPORT crc32_wd (uint32_t crc,
WATCHDOG_RESET ();
}
#else
- crc = crc32 (crc, buf, len);
+ crc = crc32 (crc, buf, len);
#endif
return crc;