diff options
Diffstat (limited to 'lib')
41 files changed, 41 insertions, 0 deletions
diff --git a/lib/acpi/acpi_table.c b/lib/acpi/acpi_table.c index 1c253af..4317766 100644 --- a/lib/acpi/acpi_table.c +++ b/lib/acpi/acpi_table.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <cpu.h> +#include <log.h> #include <mapmem.h> #include <tables_csum.h> #include <version.h> @@ -23,6 +23,7 @@ #ifndef USE_HOSTCC #include <common.h> +#include <log.h> #else #include <string.h> #endif diff --git a/lib/asn1_decoder.c b/lib/asn1_decoder.c index db22262..bcb0390 100644 --- a/lib/asn1_decoder.c +++ b/lib/asn1_decoder.c @@ -6,6 +6,7 @@ */ #ifdef __UBOOT__ +#include <log.h> #include <linux/compat.h> #else #include <linux/export.h> @@ -55,6 +55,7 @@ #ifndef USE_HOSTCC #include <common.h> +#include <log.h> #include <malloc.h> #include <ubi_uboot.h> #include <dm/devres.h> diff --git a/lib/binman.c b/lib/binman.c index 6cf6dcf..fd7de24 100644 --- a/lib/binman.c +++ b/lib/binman.c @@ -9,6 +9,7 @@ #include <common.h> #include <binman.h> #include <dm.h> +#include <log.h> #include <malloc.h> struct binman_info { diff --git a/lib/bzip2/bzlib_blocksort.c b/lib/bzip2/bzlib_blocksort.c index 2785521..36cf843 100644 --- a/lib/bzip2/bzlib_blocksort.c +++ b/lib/bzip2/bzlib_blocksort.c @@ -60,6 +60,7 @@ --*/ #include "bzlib_private.h" +#include <log.h> /*---------------------------------------------*/ /*--- Fallback O(N log(N)^2) sorting ---*/ diff --git a/lib/circbuf.c b/lib/circbuf.c index 071e4fb..fa79c14 100644 --- a/lib/circbuf.c +++ b/lib/circbuf.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <log.h> #include <malloc.h> #include <circbuf.h> diff --git a/lib/crypto/asymmetric_type.c b/lib/crypto/asymmetric_type.c index 7aa5509..aac9a14 100644 --- a/lib/crypto/asymmetric_type.c +++ b/lib/crypto/asymmetric_type.c @@ -7,6 +7,7 @@ * Written by David Howells (dhowells@redhat.com) */ #ifndef __UBOOT__ +#include <log.h> #include <dm/devres.h> #include <keys/asymmetric-subtype.h> #include <keys/asymmetric-parser.h> diff --git a/lib/crypto/pkcs7_parser.c b/lib/crypto/pkcs7_parser.c index 0ee207b..0b85fe8 100644 --- a/lib/crypto/pkcs7_parser.c +++ b/lib/crypto/pkcs7_parser.c @@ -7,6 +7,7 @@ #define pr_fmt(fmt) "PKCS7: "fmt #ifdef __UBOOT__ +#include <log.h> #include <dm/devres.h> #include <linux/bitops.h> #include <linux/compat.h> diff --git a/lib/crypto/x509_cert_parser.c b/lib/crypto/x509_cert_parser.c index 18f5407..5f984b9 100644 --- a/lib/crypto/x509_cert_parser.c +++ b/lib/crypto/x509_cert_parser.c @@ -6,6 +6,7 @@ */ #define pr_fmt(fmt) "X.509: "fmt +#include <log.h> #include <dm/devres.h> #include <linux/kernel.h> #ifndef __UBOOT__ diff --git a/lib/efi_driver/efi_uclass.c b/lib/efi_driver/efi_uclass.c index f8badad..04e4e45 100644 --- a/lib/efi_driver/efi_uclass.c +++ b/lib/efi_driver/efi_uclass.c @@ -18,6 +18,7 @@ */ #include <efi_driver.h> +#include <log.h> #include <malloc.h> /** diff --git a/lib/efi_loader/efi_acpi.c b/lib/efi_loader/efi_acpi.c index 9ae9c25..585b2d2 100644 --- a/lib/efi_loader/efi_acpi.c +++ b/lib/efi_loader/efi_acpi.c @@ -7,6 +7,7 @@ #include <common.h> #include <efi_loader.h> +#include <log.h> #include <acpi/acpi_table.h> static const efi_guid_t acpi_guid = EFI_ACPI_TABLE_GUID; diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c index 2ea2144..b112f5d 100644 --- a/lib/efi_loader/efi_bootmgr.c +++ b/lib/efi_loader/efi_bootmgr.c @@ -7,6 +7,7 @@ #include <common.h> #include <charset.h> +#include <log.h> #include <malloc.h> #include <efi_loader.h> #include <asm/unaligned.h> diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index a3f11ea..db34938 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -9,6 +9,7 @@ #include <div64.h> #include <efi_loader.h> #include <irq_func.h> +#include <log.h> #include <malloc.h> #include <time.h> #include <linux/libfdt_env.h> diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index 76ab2d8..2b537c1 100644 --- a/lib/efi_loader/efi_device_path.c +++ b/lib/efi_loader/efi_device_path.c @@ -8,6 +8,7 @@ #include <common.h> #include <blk.h> #include <dm.h> +#include <log.h> #include <net.h> #include <usb.h> #include <mmc.h> diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c index 9233767..19afa69 100644 --- a/lib/efi_loader/efi_file.c +++ b/lib/efi_loader/efi_file.c @@ -8,6 +8,7 @@ #include <common.h> #include <charset.h> #include <efi_loader.h> +#include <log.h> #include <malloc.h> #include <mapmem.h> #include <fs.h> diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index 1511e3b..53f6d97 100644 --- a/lib/efi_loader/efi_gop.c +++ b/lib/efi_loader/efi_gop.c @@ -9,6 +9,7 @@ #include <dm.h> #include <efi_loader.h> #include <lcd.h> +#include <log.h> #include <malloc.h> #include <video.h> diff --git a/lib/efi_loader/efi_rng.c b/lib/efi_loader/efi_rng.c index a1d0ec8..caef408 100644 --- a/lib/efi_loader/efi_rng.c +++ b/lib/efi_loader/efi_rng.c @@ -7,6 +7,7 @@ #include <dm.h> #include <efi_loader.h> #include <efi_rng.h> +#include <log.h> #include <rng.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index a28b291..c0bd99b 100644 --- a/lib/efi_loader/efi_runtime.c +++ b/lib/efi_loader/efi_runtime.c @@ -11,6 +11,7 @@ #include <dm.h> #include <elf.h> #include <efi_loader.h> +#include <log.h> #include <malloc.h> #include <rtc.h> #include <u-boot/crc.h> diff --git a/lib/efi_loader/efi_smbios.c b/lib/efi_loader/efi_smbios.c index a814884..719d3e8 100644 --- a/lib/efi_loader/efi_smbios.c +++ b/lib/efi_loader/efi_smbios.c @@ -7,6 +7,7 @@ #include <common.h> #include <efi_loader.h> +#include <log.h> #include <mapmem.h> #include <smbios.h> diff --git a/lib/fdtdec.c b/lib/fdtdec.c index c8cbc00..9c4d571 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -9,6 +9,7 @@ #include <dm.h> #include <hang.h> #include <init.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <dm/of_extra.h> diff --git a/lib/fdtdec_common.c b/lib/fdtdec_common.c index 5775992..ddaca00 100644 --- a/lib/fdtdec_common.c +++ b/lib/fdtdec_common.c @@ -9,6 +9,7 @@ #ifndef USE_HOSTCC #include <common.h> +#include <log.h> #include <linux/libfdt.h> #include <fdtdec.h> #else diff --git a/lib/hashtable.c b/lib/hashtable.c index e3be563..b96dbe1 100644 --- a/lib/hashtable.c +++ b/lib/hashtable.c @@ -13,6 +13,7 @@ */ #include <errno.h> +#include <log.h> #include <malloc.h> #include <sort.h> diff --git a/lib/image-sparse.c b/lib/image-sparse.c index 3170c02..187ac28 100644 --- a/lib/image-sparse.c +++ b/lib/image-sparse.c @@ -39,6 +39,7 @@ #include <blk.h> #include <image-sparse.h> #include <div64.h> +#include <log.h> #include <malloc.h> #include <part.h> #include <sparse_format.h> diff --git a/lib/libavb/avb_cmdline.c b/lib/libavb/avb_cmdline.c index dd859d3..cb54e65 100644 --- a/lib/libavb/avb_cmdline.c +++ b/lib/libavb/avb_cmdline.c @@ -7,6 +7,7 @@ #include "avb_sha.h" #include "avb_util.h" #include "avb_version.h" +#include <log.h> #include <malloc.h> #define NUM_GUIDS 3 diff --git a/lib/libavb/avb_descriptor.c b/lib/libavb/avb_descriptor.c index 86b8d1b..56a3a91 100644 --- a/lib/libavb/avb_descriptor.c +++ b/lib/libavb/avb_descriptor.c @@ -6,6 +6,7 @@ #include "avb_descriptor.h" #include "avb_util.h" #include "avb_vbmeta_image.h" +#include <log.h> #include <malloc.h> bool avb_descriptor_validate_and_byteswap(const AvbDescriptor* src, diff --git a/lib/libavb/avb_slot_verify.c b/lib/libavb/avb_slot_verify.c index 58baf52..ae8e1df 100644 --- a/lib/libavb/avb_slot_verify.c +++ b/lib/libavb/avb_slot_verify.c @@ -14,6 +14,7 @@ #include "avb_util.h" #include "avb_vbmeta_image.h" #include "avb_version.h" +#include <log.h> #include <malloc.h> /* Maximum number of partitions that can be loaded with avb_slot_verify(). */ diff --git a/lib/libavb/avb_util.c b/lib/libavb/avb_util.c index 94773b7..8719ede 100644 --- a/lib/libavb/avb_util.c +++ b/lib/libavb/avb_util.c @@ -4,6 +4,7 @@ */ #include "avb_util.h" +#include <log.h> #include <malloc.h> #include <stdarg.h> diff --git a/lib/list_sort.c b/lib/list_sort.c index beb7273..58e1e16 100644 --- a/lib/list_sort.c +++ b/lib/list_sort.c @@ -1,4 +1,5 @@ #ifndef __UBOOT__ +#include <log.h> #include <dm/devres.h> #include <linux/kernel.h> #include <linux/module.h> @@ -9,6 +9,7 @@ #include <common.h> #include <image.h> #include <lmb.h> +#include <log.h> #include <malloc.h> #define LMB_ALLOC_ANYWHERE 0 diff --git a/lib/lzma/LzmaTools.c b/lib/lzma/LzmaTools.c index 2537cb8..521258e 100644 --- a/lib/lzma/LzmaTools.c +++ b/lib/lzma/LzmaTools.c @@ -19,6 +19,7 @@ #include <config.h> #include <common.h> +#include <log.h> #include <watchdog.h> #ifdef CONFIG_LZMA diff --git a/lib/membuff.c b/lib/membuff.c index 45dae2d..36dc43a 100644 --- a/lib/membuff.c +++ b/lib/membuff.c @@ -8,6 +8,7 @@ #include <common.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include "membuff.h" diff --git a/lib/of_live.c b/lib/of_live.c index c49e95e..05a45ed 100644 --- a/lib/of_live.c +++ b/lib/of_live.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <log.h> #include <linux/libfdt.h> #include <of_live.h> #include <malloc.h> diff --git a/lib/optee/optee.c b/lib/optee/optee.c index d4355c6..e59b576 100644 --- a/lib/optee/optee.c +++ b/lib/optee/optee.c @@ -6,6 +6,7 @@ #include <common.h> #include <image.h> +#include <log.h> #include <malloc.h> #include <linux/libfdt.h> #include <tee/optee.h> diff --git a/lib/physmem.c b/lib/physmem.c index 84b191d..fc90ce4 100644 --- a/lib/physmem.c +++ b/lib/physmem.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <log.h> #include <mapmem.h> #include <physmem.h> #include <linux/compiler.h> diff --git a/lib/qsort.c b/lib/qsort.c index f63d4ef..2f18588 100644 --- a/lib/qsort.c +++ b/lib/qsort.c @@ -15,6 +15,7 @@ * calculation, as well as to reduce the generated code size with * bcc and gcc. */ +#include <log.h> #include <linux/types.h> #include <common.h> #include <exports.h> diff --git a/lib/rsa/rsa-mod-exp.c b/lib/rsa/rsa-mod-exp.c index 62b2557..a437cbe 100644 --- a/lib/rsa/rsa-mod-exp.c +++ b/lib/rsa/rsa-mod-exp.c @@ -6,6 +6,7 @@ #ifndef USE_HOSTCC #include <common.h> #include <fdtdec.h> +#include <log.h> #include <asm/types.h> #include <asm/byteorder.h> #include <linux/errno.h> diff --git a/lib/rsa/rsa-verify.c b/lib/rsa/rsa-verify.c index f7ae174..1d55b99 100644 --- a/lib/rsa/rsa-verify.c +++ b/lib/rsa/rsa-verify.c @@ -6,6 +6,7 @@ #ifndef USE_HOSTCC #include <common.h> #include <fdtdec.h> +#include <log.h> #include <malloc.h> #include <asm/types.h> #include <asm/byteorder.h> @@ -20,6 +20,7 @@ #include <stdlib.h> #include <string.h> #else +#include <log.h> #include <common.h> #include <linux/ctype.h> #endif /* SLRE_TEST */ diff --git a/lib/tpm-common.c b/lib/tpm-common.c index 86b4f41..e4af87f 100644 --- a/lib/tpm-common.c +++ b/lib/tpm-common.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <asm/unaligned.h> #include <tpm-common.h> #include "tpm-utils.h" diff --git a/lib/tpm-v1.c b/lib/tpm-v1.c index b4498e6..a846fe0 100644 --- a/lib/tpm-v1.c +++ b/lib/tpm-v1.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <asm/unaligned.h> #include <u-boot/sha1.h> #include <tpm-common.h> |