]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit4b4046695c956fad11f173a05f23bffee0b2427a
tree074109b92a8601f2a1a57f302b7ccdc2acc7f3da
parent3daceca94341605fe9eda3694b5c9bf5e8185f36
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