1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

common: Drop linux/crc8.h

We have an existing U-Boot header for the one function that this defines.
Use that instead of the linux/ one. Move over the nice comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass
2019-11-14 12:57:14 -07:00
committed by Tom Rini
parent 840ef4d43b
commit c3a4d1c3ee
6 changed files with 22 additions and 28 deletions

View File

@@ -3,7 +3,12 @@
* Copyright (c) 2013 Google, Inc
*/
#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)