]> git.baikalelectronics.ru Git - uboot.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)
commit689e5d96d766316b21777b72f59381ed43367d23
treebe4f127bc92f771a0c5254083fec1562453d8e1c
parentd9e97a933e2eb79458d2237f6f6cb9640068cc08
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
fs/ubifs/crc16.c [deleted file]
include/u-boot/crc.h
lib/Makefile
lib/crc16.c [new file with mode: 0644]