diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2011-01-11 09:38:20 +0800 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-01-18 23:38:08 +0100 |
commit | ed6ce67a2c7071cf5032848caa8bbf037e5ac51b (patch) | |
tree | 4af693e4e589c5d6c8043fa97439e116da828b90 /lib/Makefile | |
parent | 5c4fa2eea0d68764766b5996baa5508f64f1f64b (diff) | |
download | u-boot-imx-ed6ce67a2c7071cf5032848caa8bbf037e5ac51b.zip u-boot-imx-ed6ce67a2c7071cf5032848caa8bbf037e5ac51b.tar.gz u-boot-imx-ed6ce67a2c7071cf5032848caa8bbf037e5ac51b.tar.bz2 |
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/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index ffdee7d..fcfe351 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 |