crc32: Use the crc.h header for crc functions

Drop inclusion of crc.h in common.h and use the correct header directly
instead.

With this we can drop the conflicting definition in fw_env.h and rely on
the crc.h header, which is already included.

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:16 -07:00 committed by Tom Rini
parent b2ea91ba57
commit 3db7110857
65 changed files with 63 additions and 5 deletions

View file

@ -9,6 +9,7 @@
#include <log.h>
#include <mapmem.h>
#include <spl.h>
#include <u-boot/crc.h>
DECLARE_GLOBAL_DATA_PTR;