Add crc8 routine
authorSimon Glass <sjg@chromium.org>
Sun, 10 Nov 2013 17:26:47 +0000 (10:26 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 9 Jan 2014 00:20:34 +0000 (17:20 -0700)
commit60d18d3fe9d1a5db663711063cd0d5c915af377a
tree82f1144ddcc272992f4999fac37bda8a816ec991
parente7be18225fbea76d1f0034b224f0d1e60f07cfcf
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>
include/linux/crc8.h [new file with mode: 0644]
lib/Makefile
lib/crc8.c [new file with mode: 0644]