summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2018-11-25 19:22:18 +0100
committerTom Rini <trini@konsulko.com>2018-12-08 20:18:32 -0500
commita740ee913ec8ba04cc53100440f94841648324e2 (patch)
tree5e7ce4280365bce24a5747118d1c857a560faeeb /lib
parentc49aff3e66b930aa06936afee401cf5e19377958 (diff)
downloadu-boot-a740ee913ec8ba04cc53100440f94841648324e2.tar.gz
lib: merge CRC16-CCITT into u-boot/crc.h
This merges the CRC16-CCITT headers into u-boot/crc.h to prepare for rolling CRC16 into the hash infrastructure. Given that CRC8, CRC32 and CRC32-C already have their prototypes in a single header file, it seems a good idea to also include CRC16-CCITT in the same. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/crc16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crc16.c b/lib/crc16.c
index 763ae33f34..25bdfd8e72 100644
--- a/lib/crc16.c
+++ b/lib/crc16.c
@@ -22,7 +22,7 @@
*==========================================================================
*/
-#include "crc.h"
+#include <u-boot/crc.h>
/* Table of CRC constants - implements x^16+x^12+x^5+1 */
static const uint16_t crc16_tab[] = {