summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2017-06-06 17:08:39 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-09 05:52:07 -0400
commit0cbaa44841db3d06d2a21ae4ab679882033f3dbe (patch)
treec400ed524386505865c81fe8f11396f98e529c48 /lib/Makefile
parent414c1026319bc10796a868c1fa0ba312c4ca9e67 (diff)
lib: Add crc4 module
Add a little helper for crc4 calculations. This works 4-bits-at-a-time, using a simple table approach. We will need this in the FSI core code, as well as any master implementations that need to calculate CRCs in software. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Chris Bostic <cbostic@linux.vnet.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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 0166fbc0fa81..90cf124e5feb 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -99,6 +99,7 @@ obj-$(CONFIG_CRC_T10DIF)+= crc-t10dif.o
99obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o 99obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o
100obj-$(CONFIG_CRC32) += crc32.o 100obj-$(CONFIG_CRC32) += crc32.o
101obj-$(CONFIG_CRC32_SELFTEST) += crc32test.o 101obj-$(CONFIG_CRC32_SELFTEST) += crc32test.o
102obj-$(CONFIG_CRC4) += crc4.o
102obj-$(CONFIG_CRC7) += crc7.o 103obj-$(CONFIG_CRC7) += crc7.o
103obj-$(CONFIG_LIBCRC32C) += libcrc32c.o 104obj-$(CONFIG_LIBCRC32C) += libcrc32c.o
104obj-$(CONFIG_CRC8) += crc8.o 105obj-$(CONFIG_CRC8) += crc8.o