crc16-ccitt: Rename file with CRC-16-CCITT implementation to crc16-ccitt.c
authorPali Rohár <pali@kernel.org>
Tue, 12 Apr 2022 09:20:40 +0000 (11:20 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 21 Apr 2022 18:32:40 +0000 (14:32 -0400)
commitbb3d71b7eff4f137c1c4560950536aeb1740e004
tree074109b92a8601f2a1a57f302b7ccdc2acc7f3da
parentb616947052178f358bbb07d368ba3399fce9d495
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>
include/u-boot/crc.h
lib/Makefile
lib/crc16-ccitt.c [new file with mode: 0644]
lib/crc16.c [deleted file]
tools/Makefile