diff options
author | Pali Rohár <pali@kernel.org> | 2022-04-12 11:20:42 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-21 14:32:40 -0400 |
commit | 1a47e6d47c7184b116bb58e8451dc0d4f141a609 (patch) | |
tree | be4f127bc92f771a0c5254083fec1562453d8e1c /lib/Makefile | |
parent | e523f5d181ce66a36b5f9476b86be2fa03284a45 (diff) | |
download | u-boot-1a47e6d47c7184b116bb58e8451dc0d4f141a609.zip u-boot-1a47e6d47c7184b116bb58e8451dc0d4f141a609.tar.gz u-boot-1a47e6d47c7184b116bb58e8451dc0d4f141a609.tar.bz2 |
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>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index cf662a7..d9b1811 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -35,6 +35,7 @@ obj-$(CONFIG_CIRCBUF) += circbuf.o endif obj-y += crc8.o +obj-y += crc16.o obj-y += crc16-ccitt.o obj-$(CONFIG_ERRNO_STR) += errno_str.o obj-$(CONFIG_FIT) += fdtdec_common.o |