diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 22:57:16 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-03 02:23:08 +0300 |
commit | 3db7110857524cf1b7d0a374c1ebcde8a2680de0 (patch) | |
tree | 050b7a36ff3a6fe08b1a5d30e00daf88c4ca5094 /tools/mkenvimage.c | |
parent | b2ea91ba57a2c3d57ec3d681b4058b115a0d3e51 (diff) | |
download | u-boot-3db7110857524cf1b7d0a374c1ebcde8a2680de0.tar.xz |
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>
Diffstat (limited to 'tools/mkenvimage.c')
-rw-r--r-- | tools/mkenvimage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index a8eebab6c3..b05f83415f 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -14,6 +14,7 @@ #include <stdlib.h> #include <stdint.h> #include <string.h> +#include <u-boot/crc.h> #include <unistd.h> #include <libgen.h> #include <sys/types.h> |