diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/acpi/acpi_table.c | 1 | ||||
-rw-r--r-- | lib/asm-offsets.c | 1 | ||||
-rw-r--r-- | lib/efi/efi_app.c | 1 | ||||
-rw-r--r-- | lib/efi/efi_info.c | 1 | ||||
-rw-r--r-- | lib/efi_loader/efi_boottime.c | 1 | ||||
-rw-r--r-- | lib/efi_loader/efi_dt_fixup.c | 1 | ||||
-rw-r--r-- | lib/efi_loader/efi_gop.c | 1 | ||||
-rw-r--r-- | lib/efi_loader/efi_memory.c | 1 | ||||
-rw-r--r-- | lib/efi_loader/efi_rng.c | 1 | ||||
-rw-r--r-- | lib/efi_loader/efi_runtime.c | 1 | ||||
-rw-r--r-- | lib/efi_selftest/dtbdump.c | 1 | ||||
-rw-r--r-- | lib/fdtdec.c | 1 | ||||
-rw-r--r-- | lib/optee/optee.c | 1 | ||||
-rw-r--r-- | lib/time.c | 1 | ||||
-rw-r--r-- | lib/trace.c | 1 | ||||
-rw-r--r-- | lib/zlib/zlib.c | 2 |
16 files changed, 16 insertions, 1 deletions
diff --git a/lib/acpi/acpi_table.c b/lib/acpi/acpi_table.c index a0f0961be5b..2f077417841 100644 --- a/lib/acpi/acpi_table.c +++ b/lib/acpi/acpi_table.c @@ -13,6 +13,7 @@ #include <tables_csum.h> #include <version.h> #include <acpi/acpi_table.h> +#include <asm/global_data.h> #include <dm/acpi.h> int acpi_create_dmar(struct acpi_dmar *dmar, enum dmar_flags flags) diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c index b17651ed63d..ee592cfda1c 100644 --- a/lib/asm-offsets.c +++ b/lib/asm-offsets.c @@ -13,6 +13,7 @@ #include <common.h> #include <asm-offsets.h> +#include <asm/global_data.h> #include <linux/kbuild.h> diff --git a/lib/efi/efi_app.c b/lib/efi/efi_app.c index b7e19c34750..907bacd716a 100644 --- a/lib/efi/efi_app.c +++ b/lib/efi/efi_app.c @@ -15,6 +15,7 @@ #include <errno.h> #include <init.h> #include <malloc.h> +#include <asm/global_data.h> #include <linux/err.h> #include <linux/types.h> #include <efi.h> diff --git a/lib/efi/efi_info.c b/lib/efi/efi_info.c index 35a8a9325f8..4d78923c4d4 100644 --- a/lib/efi/efi_info.c +++ b/lib/efi/efi_info.c @@ -9,6 +9,7 @@ #include <efi.h> #include <errno.h> #include <mapmem.h> +#include <asm/global_data.h> int efi_info_get(enum efi_entry_t type, void **datap, int *sizep) { diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index ce658a8e733..41b8949b042 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -19,6 +19,7 @@ #include <u-boot/crc.h> #include <usb.h> #include <watchdog.h> +#include <asm/global_data.h> #include <linux/libfdt_env.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/lib/efi_loader/efi_dt_fixup.c b/lib/efi_loader/efi_dt_fixup.c index 6de57b84d20..a4529ee3ef2 100644 --- a/lib/efi_loader/efi_dt_fixup.c +++ b/lib/efi_loader/efi_dt_fixup.c @@ -8,6 +8,7 @@ #include <common.h> #include <efi_dt_fixup.h> #include <efi_loader.h> +#include <fdtdec.h> #include <mapmem.h> const efi_guid_t efi_guid_dt_fixup_protocol = EFI_DT_FIXUP_PROTOCOL_GUID; diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index 53f6d970f73..1206b2d7a2c 100644 --- a/lib/efi_loader/efi_gop.c +++ b/lib/efi_loader/efi_gop.c @@ -12,6 +12,7 @@ #include <log.h> #include <malloc.h> #include <video.h> +#include <asm/global_data.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index a3106aba7f2..be2f655dffd 100644 --- a/lib/efi_loader/efi_memory.c +++ b/lib/efi_loader/efi_memory.c @@ -12,6 +12,7 @@ #include <mapmem.h> #include <watchdog.h> #include <asm/cache.h> +#include <asm/global_data.h> #include <linux/list_sort.h> #include <linux/sizes.h> diff --git a/lib/efi_loader/efi_rng.c b/lib/efi_loader/efi_rng.c index 8bdadad0a95..0e065468562 100644 --- a/lib/efi_loader/efi_rng.c +++ b/lib/efi_loader/efi_rng.c @@ -11,6 +11,7 @@ #include <efi_rng.h> #include <log.h> #include <rng.h> +#include <asm/global_data.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index 93c9478b225..93a695fc27e 100644 --- a/lib/efi_loader/efi_runtime.c +++ b/lib/efi_loader/efi_runtime.c @@ -14,6 +14,7 @@ #include <log.h> #include <malloc.h> #include <rtc.h> +#include <asm/global_data.h> #include <u-boot/crc.h> /* For manual relocation support */ diff --git a/lib/efi_selftest/dtbdump.c b/lib/efi_selftest/dtbdump.c index 38ab9f8bf0e..f6ddaa30726 100644 --- a/lib/efi_selftest/dtbdump.c +++ b/lib/efi_selftest/dtbdump.c @@ -10,6 +10,7 @@ #include <efi_api.h> #include <efi_dt_fixup.h> #include <part.h> +#include <linux/libfdt.h> #define BUFFER_SIZE 64 #define ESC 0x17 diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 9d833f6a563..864589193b4 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -21,6 +21,7 @@ #include <mapmem.h> #include <linux/libfdt.h> #include <serial.h> +#include <asm/global_data.h> #include <asm/sections.h> #include <linux/ctype.h> #include <linux/lzo.h> diff --git a/lib/optee/optee.c b/lib/optee/optee.c index 9e6606568f3..4dcf6f93099 100644 --- a/lib/optee/optee.c +++ b/lib/optee/optee.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <fdtdec.h> #include <image.h> #include <log.h> #include <malloc.h> diff --git a/lib/time.c b/lib/time.c index cc6944ec345..38a9758292a 100644 --- a/lib/time.c +++ b/lib/time.c @@ -14,6 +14,7 @@ #include <timer.h> #include <watchdog.h> #include <div64.h> +#include <asm/global_data.h> #include <asm/io.h> #include <linux/delay.h> diff --git a/lib/trace.c b/lib/trace.c index defc9716d80..9e34b195375 100644 --- a/lib/trace.c +++ b/lib/trace.c @@ -7,6 +7,7 @@ #include <mapmem.h> #include <time.h> #include <trace.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/sections.h> diff --git a/lib/zlib/zlib.c b/lib/zlib/zlib.c index 90e05e7d4d9..493fe19eda6 100644 --- a/lib/zlib/zlib.c +++ b/lib/zlib/zlib.c @@ -12,7 +12,7 @@ * - added inflateIncomp */ -#include <common.h> +#include <compiler.h> #ifdef CONFIG_GZIP_COMPRESSED #define NO_DUMMY_DECL |