summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2011-01-11 09:38:20 +0800
committerWolfgang Denk <wd@denx.de>2011-01-18 23:38:08 +0100
commited6ce67a2c7071cf5032848caa8bbf037e5ac51b (patch)
tree4af693e4e589c5d6c8043fa97439e116da828b90 /lib/Makefile
parent5c4fa2eea0d68764766b5996baa5508f64f1f64b (diff)
lib: add crc7 from Linux
Crc7 is used to compute mmc spi command packet checksum. Copy from linux-2.6 lib/crc7.c include/linux/crc7.h commit ad241528c4919505afccb022acbab3eeb0db4d80 Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
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 ffdee7d43d3..fcfe3510425 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -32,6 +32,7 @@ COBJS-$(CONFIG_BZIP2) += bzlib_decompress.o
COBJS-$(CONFIG_BZIP2) += bzlib_randtable.o
COBJS-$(CONFIG_BZIP2) += bzlib_huffman.o
COBJS-$(CONFIG_USB_TTY) += circbuf.o
+COBJS-y += crc7.o
COBJS-y += crc16.o
COBJS-y += crc32.o
COBJS-y += ctype.o