]> git.dujemihanovic.xyz Git - u-boot.git/commit
crc16: Move standard CRC-16 implementation from ubifs to lib
authorPali Rohár <pali@kernel.org>
Tue, 12 Apr 2022 09:20:42 +0000 (11:20 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 21 Apr 2022 18:32:40 +0000 (14:32 -0400)
commit1a47e6d47c7184b116bb58e8451dc0d4f141a609
treebe4f127bc92f771a0c5254083fec1562453d8e1c
parente523f5d181ce66a36b5f9476b86be2fa03284a45
crc16: Move standard CRC-16 implementation from ubifs to lib

This implementation provides standard CRC-16 algorithm with polynomial
x^16 + x^15 + x^2 + 1.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
fs/ubifs/Makefile
include/u-boot/crc.h
lib/Makefile
lib/crc16.c [moved from fs/ubifs/crc16.c with 100% similarity]