projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ppc4xx: setup 440EPx/GRx ZMII/RGMII bridge depending on PFC register content.
[oweals/u-boot.git]
/
common
/
crc16.c
diff --git
a/common/crc16.c
b/common/crc16.c
index 3cef10600722ad9203387847472fc2e4ceddcbd7..6904365e592722137cf41aa80be017a3f518bca5 100644
(file)
--- 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;
}