aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-04-12 11:20:42 +0200
committerTom Rini <trini@konsulko.com>2022-04-21 14:32:40 -0400
commit1a47e6d47c7184b116bb58e8451dc0d4f141a609 (patch)
treebe4f127bc92f771a0c5254083fec1562453d8e1c /lib/Makefile
parente523f5d181ce66a36b5f9476b86be2fa03284a45 (diff)
downloadu-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/Makefile1
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