diff options
| author | Simon Glass <[email protected]> | 2019-11-14 12:57:16 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-12-02 18:23:08 -0500 |
| commit | 3db7110857524cf1b7d0a374c1ebcde8a2680de0 (patch) | |
| tree | 050b7a36ff3a6fe08b1a5d30e00daf88c4ca5094 /lib/efi_loader | |
| 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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'lib/efi_loader')
| -rw-r--r-- | lib/efi_loader/efi_boottime.c | 1 | ||||
| -rw-r--r-- | lib/efi_loader/efi_runtime.c | 1 | ||||
| -rw-r--r-- | lib/efi_loader/efi_variable.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 493d906c641..ea52b9539d5 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -13,6 +13,7 @@ #include <u-boot/crc.h> #include <bootm.h> #include <pe.h> +#include <u-boot/crc.h> #include <watchdog.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index ced00516f73..72555f07fc1 100644 --- a/lib/efi_loader/efi_runtime.c +++ b/lib/efi_loader/efi_runtime.c @@ -11,6 +11,7 @@ #include <elf.h> #include <efi_loader.h> #include <rtc.h> +#include <u-boot/crc.h> /* For manual relocation support */ DECLARE_GLOBAL_DATA_PTR; diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c index 46f35bc60ba..c316bdfec0e 100644 --- a/lib/efi_loader/efi_variable.c +++ b/lib/efi_loader/efi_variable.c @@ -11,6 +11,7 @@ #include <hexdump.h> #include <malloc.h> #include <search.h> +#include <u-boot/crc.h> #define READ_ONLY BIT(31) |
