diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:16 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:08 -0500 |
commit | 3db7110857524cf1b7d0a374c1ebcde8a2680de0 (patch) | |
tree | 050b7a36ff3a6fe08b1a5d30e00daf88c4ca5094 /board/gdsys | |
parent | b2ea91ba57a2c3d57ec3d681b4058b115a0d3e51 (diff) |
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 'board/gdsys')
-rw-r--r-- | board/gdsys/a38x/hre.c | 1 | ||||
-rw-r--r-- | board/gdsys/p1022/controlcenterd-id.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/gdsys/a38x/hre.c b/board/gdsys/a38x/hre.c index 82b84284ef..027ad1f57e 100644 --- a/board/gdsys/a38x/hre.c +++ b/board/gdsys/a38x/hre.c @@ -10,6 +10,7 @@ #include <i2c.h> #include <mmc.h> #include <tpm-v1.h> +#include <u-boot/crc.h> #include <u-boot/sha1.h> #include <asm/byteorder.h> #include <asm/unaligned.h> diff --git a/board/gdsys/p1022/controlcenterd-id.c b/board/gdsys/p1022/controlcenterd-id.c index 43f5404231..d6798bd338 100644 --- a/board/gdsys/p1022/controlcenterd-id.c +++ b/board/gdsys/p1022/controlcenterd-id.c @@ -18,6 +18,7 @@ #include <i2c.h> #include <mmc.h> #include <tpm-v1.h> +#include <u-boot/crc.h> #include <u-boot/sha1.h> #include <asm/byteorder.h> #include <asm/unaligned.h> |