projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'u-boot-imx-20200623' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git]
/
lib
/
crc8.c
diff --git
a/lib/crc8.c
b/lib/crc8.c
index 51d540fbcb4acc0a71a83a9055a9e295638c136f..87b87b675b27fa77280cdf98a5cdf17c66b79566 100644
(file)
--- a/
lib/crc8.c
+++ b/
lib/crc8.c
@@
-1,10
+1,14
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2013 Google, Inc
/*
* Copyright (c) 2013 Google, Inc
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
*/
-#include "linux/crc8.h"
+#ifdef USE_HOSTCC
+#include <arpa/inet.h>
+#else
+#include <common.h>
+#endif
+#include <u-boot/crc.h>
#define POLY (0x1070U << 3)
#define POLY (0x1070U << 3)