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 1c253af3bfd..431776666e2 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> diff --git a/lib/aes.c b/lib/aes.c index ce53c9f1f37..c998aecb3c7 100644 --- a/lib/aes.c +++ b/lib/aes.c @@ -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 db222625dd0..bcb0390eb41 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> diff --git a/lib/bch.c b/lib/bch.c index 8945d8d4cf2..de66b1acba5 100644 --- a/lib/bch.c +++ b/lib/bch.c @@ -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 6cf6dcfdad6..fd7de24bd23 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 27855215022..36cf8436592 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 071e4fb8a6a..fa79c148dae 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 7aa55092ac7..aac9a1471ac 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 0ee207b6b1c..0b85fe8286c 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 18f5407a076..5f984b9dfda 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 f8badadf660..04e4e457344 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 9ae9c25c51e..585b2d2b636 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 2ea21448f03..b112f5d81ef 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 a3f11eaf622..db349381965 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 76ab2d82886..2b537c1e2ef 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 9233767ee26..19afa69f530 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 1511e3bdb42..53f6d970f73 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 a1d0ec842c8..caef4085b07 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 a28b291927c..c0bd99b8674 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 a81488495e2..719d3e8880a 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 c8cbc00699b..9c4d5713e1d 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 5775992ef33..ddaca0087e1 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 e3be5635651..b96dbe19be4 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 3170c024f7b..187ac28cd36 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 dd859d3467e..cb54e658c48 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 86b8d1b9943..56a3a91fc23 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 58baf522fcb..ae8e1dffa4c 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 94773b77e7e..8719ede15a7 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 beb7273fd30..58e1e1614a5 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> diff --git a/lib/lmb.c b/lib/lmb.c index 2f0e495edf2..008bcc7930d 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -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 2537cb8f8c6..521258e623f 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 45dae2d576f..36dc43a523f 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 c49e95e38c7..05a45ed34af 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 d4355c6d033..e59b5766e72 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 84b191dae3e..fc90ce4d7cf 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 f63d4ef7268..2f18588dfcc 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 62b2557cc28..a437cbe26f2 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 f7ae174cb05..1d55b997e34 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> diff --git a/lib/slre.c b/lib/slre.c index 969c46a8591..e82a9e7635b 100644 --- a/lib/slre.c +++ b/lib/slre.c @@ -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 86b4f413c2e..e4af87f76aa 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 b4498e6afc7..a846fe00dd3 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> |