summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-07-21 11:56:05 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-07-21 11:56:05 +0200
commitb9365a26a1030ce13f2c5bb3619d721750b9e409 (patch)
tree938aaf2f2ccafd1c49c8459241c5112b387a2060 /common
parent87a5c73d66beee8cc4d3b179114da89bf8e09791 (diff)
downloadu-boot-imx-b9365a26a1030ce13f2c5bb3619d721750b9e409.zip
u-boot-imx-b9365a26a1030ce13f2c5bb3619d721750b9e409.tar.gz
u-boot-imx-b9365a26a1030ce13f2c5bb3619d721750b9e409.tar.bz2
Code cleanup
Diffstat (limited to 'common')
-rw-r--r--common/crc16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/crc16.c b/common/crc16.c
index 3cef106..6904365 100644
--- a/common/crc16.c
+++ b/common/crc16.c
@@ -101,7 +101,7 @@ cyg_crc16(unsigned char *buf, int len)
cksum = 0;
for (i = 0; i < len; i++) {
- cksum = crc16_tab[((cksum>>8) ^ *buf++) & 0xFF] ^ (cksum << 8);
+ cksum = crc16_tab[((cksum>>8) ^ *buf++) & 0xFF] ^ (cksum << 8);
}
return cksum;
}