aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-04-12 11:20:40 +0200
committerTom Rini <trini@konsulko.com>2022-04-21 14:32:40 -0400
commitbb3d71b7eff4f137c1c4560950536aeb1740e004 (patch)
tree074109b92a8601f2a1a57f302b7ccdc2acc7f3da /tools
parentb616947052178f358bbb07d368ba3399fce9d495 (diff)
downloadu-boot-bb3d71b7eff4f137c1c4560950536aeb1740e004.zip
u-boot-bb3d71b7eff4f137c1c4560950536aeb1740e004.tar.gz
u-boot-bb3d71b7eff4f137c1c4560950536aeb1740e004.tar.bz2
crc16-ccitt: Rename file with CRC-16-CCITT implementation to crc16-ccitt.c
U-Boot CRC-16 implementation uses polynomial x^16 + x^12 + x^5 + 1 which is not standard CRC-16 algorithm, but it is known as CRC-16-CCITT. Rename file crc16.c to crc16-ccitt.c to reduce confusion. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index e17271b..9f23396 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -132,7 +132,7 @@ dumpimage-mkimage-objs := aisimage.o \
$(ROCKCHIP_OBS) \
socfpgaimage.o \
sunxi_egon.o \
- lib/crc16.o \
+ lib/crc16-ccitt.o \
lib/hash-checksum.o \
lib/sha1.o \
lib/sha256.o \