summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-11-10 10:26:47 -0700
committerSimon Glass <sjg@chromium.org>2014-01-08 17:20:34 -0700
commit60d18d3fe9d1a5db663711063cd0d5c915af377a (patch)
tree82f1144ddcc272992f4999fac37bda8a816ec991 /lib/Makefile
parente7be18225fbea76d1f0034b224f0d1e60f07cfcf (diff)
downloadu-boot-imx-60d18d3fe9d1a5db663711063cd0d5c915af377a.zip
u-boot-imx-60d18d3fe9d1a5db663711063cd0d5c915af377a.tar.gz
u-boot-imx-60d18d3fe9d1a5db663711063cd0d5c915af377a.tar.bz2
Add crc8 routine
Add an implementation of the CRC8 algorithm. This is required by the TPM emulation, but is probably useful to U-Boot in general. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.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 e787f77..760340f 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -21,6 +21,7 @@ obj-$(CONFIG_BZIP2) += bzlib_randtable.o
obj-$(CONFIG_BZIP2) += bzlib_huffman.o
obj-$(CONFIG_USB_TTY) += circbuf.o
obj-y += crc7.o
+obj-y += crc8.o
obj-y += crc16.o
obj-$(CONFIG_OF_CONTROL) += fdtdec.o
obj-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o