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

1
env/nand.c vendored
View file

@ -23,6 +23,7 @@
#include <nand.h>
#include <search.h>
#include <errno.h>
#include <u-boot/crc.h>
#if defined(CONFIG_CMD_SAVEENV) && defined(CONFIG_CMD_NAND) && \
!defined(CONFIG_SPL_BUILD)