diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/bootm_os.c | 2 | ||||
-rw-r--r-- | common/fdt_region.c | 1 | ||||
-rw-r--r-- | common/hash.c | 2 | ||||
-rw-r--r-- | common/image-fdt.c | 1 | ||||
-rw-r--r-- | common/image-fit.c | 1 | ||||
-rw-r--r-- | common/image-sig.c | 2 | ||||
-rw-r--r-- | common/image.c | 1 | ||||
-rw-r--r-- | common/spl/spl_atf.c | 1 | ||||
-rw-r--r-- | common/spl/spl_legacy.c | 1 | ||||
-rw-r--r-- | common/spl/spl_nand.c | 2 | ||||
-rw-r--r-- | common/spl/spl_net.c | 1 | ||||
-rw-r--r-- | common/spl/spl_nor.c | 1 | ||||
-rw-r--r-- | common/spl/spl_onenand.c | 1 | ||||
-rw-r--r-- | common/spl/spl_opensbi.c | 2 | ||||
-rw-r--r-- | common/spl/spl_ram.c | 1 | ||||
-rw-r--r-- | common/spl/spl_spi.c | 1 | ||||
-rw-r--r-- | common/spl/spl_ubi.c | 1 | ||||
-rw-r--r-- | common/spl/spl_xip.c | 1 | ||||
-rw-r--r-- | common/spl/spl_ymodem.c | 1 |
19 files changed, 23 insertions, 1 deletions
diff --git a/common/bootm_os.c b/common/bootm_os.c index 44023532e1..8599bc8ca3 100644 --- a/common/bootm_os.c +++ b/common/bootm_os.c @@ -11,6 +11,8 @@ #include <efi_loader.h> #include <env.h> #include <fdt_support.h> +#include <image.h> +#include <lmb.h> #include <linux/libfdt.h> #include <malloc.h> #include <mapmem.h> diff --git a/common/fdt_region.c b/common/fdt_region.c index bf0a9be730..667659054a 100644 --- a/common/fdt_region.c +++ b/common/fdt_region.c @@ -5,6 +5,7 @@ * Written by Simon Glass <sjg@chromium.org> */ +#include <fdt_support.h> #include <linux/libfdt_env.h> #include <fdt_region.h> diff --git a/common/hash.c b/common/hash.c index 2cf763575f..810854ce0f 100644 --- a/common/hash.c +++ b/common/hash.c @@ -23,10 +23,10 @@ #else #include "mkimage.h" #include <time.h> -#include <image.h> #endif /* !USE_HOSTCC*/ #include <hash.h> +#include <image.h> #include <u-boot/crc.h> #include <u-boot/sha1.h> #include <u-boot/sha256.h> diff --git a/common/image-fdt.c b/common/image-fdt.c index 3002948b6b..270732278e 100644 --- a/common/image-fdt.c +++ b/common/image-fdt.c @@ -14,6 +14,7 @@ #include <env.h> #include <errno.h> #include <image.h> +#include <lmb.h> #include <malloc.h> #include <linux/libfdt.h> #include <mapmem.h> diff --git a/common/image-fit.c b/common/image-fit.c index 368b73088a..dc745fef7c 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -11,6 +11,7 @@ #ifdef USE_HOSTCC #include "mkimage.h" #include <time.h> +#include <linux/libfdt.h> #include <u-boot/crc.h> #else #include <linux/compiler.h> diff --git a/common/image-sig.c b/common/image-sig.c index 84b2c0439c..5122dc948f 100644 --- a/common/image-sig.c +++ b/common/image-sig.c @@ -5,7 +5,9 @@ #ifdef USE_HOSTCC #include "mkimage.h" +#include <fdt_support.h> #include <time.h> +#include <linux/libfdt.h> #else #include <common.h> #include <malloc.h> diff --git a/common/image.c b/common/image.c index 20fa4bd497..6a24abf6ff 100644 --- a/common/image.c +++ b/common/image.c @@ -11,6 +11,7 @@ #include <bootstage.h> #include <cpu_func.h> #include <env.h> +#include <lmb.h> #include <malloc.h> #include <asm/cache.h> #include <u-boot/crc.h> diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c index bc2921c552..b83e3bb54a 100644 --- a/common/spl/spl_atf.c +++ b/common/spl/spl_atf.c @@ -13,6 +13,7 @@ #include <atf_common.h> #include <cpu_func.h> #include <errno.h> +#include <image.h> #include <spl.h> #include <asm/cache.h> diff --git a/common/spl/spl_legacy.c b/common/spl/spl_legacy.c index 29d3ec7073..db5017a4b0 100644 --- a/common/spl/spl_legacy.c +++ b/common/spl/spl_legacy.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <image.h> #include <malloc.h> #include <spl.h> diff --git a/common/spl/spl_nand.c b/common/spl/spl_nand.c index 5f8a111a2f..e81279aa1b 100644 --- a/common/spl/spl_nand.c +++ b/common/spl/spl_nand.c @@ -5,6 +5,8 @@ */ #include <common.h> #include <config.h> +#include <fdt_support.h> +#include <image.h> #include <spl.h> #include <asm/io.h> #include <nand.h> diff --git a/common/spl/spl_net.c b/common/spl/spl_net.c index 30c050c0b3..a9b6b07ab3 100644 --- a/common/spl/spl_net.c +++ b/common/spl/spl_net.c @@ -9,6 +9,7 @@ #include <common.h> #include <env.h> #include <errno.h> +#include <image.h> #include <spl.h> #include <net.h> #include <linux/libfdt.h> diff --git a/common/spl/spl_nor.c b/common/spl/spl_nor.c index 3f03ffe6a3..d4733ea90a 100644 --- a/common/spl/spl_nor.c +++ b/common/spl/spl_nor.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <image.h> #include <spl.h> static ulong spl_nor_load_read(struct spl_load_info *load, ulong sector, diff --git a/common/spl/spl_onenand.c b/common/spl/spl_onenand.c index ee30f328e6..8ba3d4027a 100644 --- a/common/spl/spl_onenand.c +++ b/common/spl/spl_onenand.c @@ -9,6 +9,7 @@ */ #include <common.h> #include <config.h> +#include <image.h> #include <spl.h> #include <asm/io.h> #include <onenand_uboot.h> diff --git a/common/spl/spl_opensbi.c b/common/spl/spl_opensbi.c index 3519c34299..e88136e6f3 100644 --- a/common/spl/spl_opensbi.c +++ b/common/spl/spl_opensbi.c @@ -9,9 +9,11 @@ #include <cpu_func.h> #include <errno.h> #include <hang.h> +#include <image.h> #include <spl.h> #include <asm/smp.h> #include <opensbi.h> +#include <linux/libfdt.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/common/spl/spl_ram.c b/common/spl/spl_ram.c index 954e91a004..80572ceec2 100644 --- a/common/spl/spl_ram.c +++ b/common/spl/spl_ram.c @@ -11,6 +11,7 @@ */ #include <common.h> #include <binman_sym.h> +#include <image.h> #include <mapmem.h> #include <spl.h> #include <linux/libfdt.h> diff --git a/common/spl/spl_spi.c b/common/spl/spl_spi.c index 288dbb5fa9..7a374bbfcc 100644 --- a/common/spl/spl_spi.c +++ b/common/spl/spl_spi.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <image.h> #include <spi.h> #include <spi_flash.h> #include <errno.h> diff --git a/common/spl/spl_ubi.c b/common/spl/spl_ubi.c index 0cb5080882..de6a63bd2d 100644 --- a/common/spl/spl_ubi.c +++ b/common/spl/spl_ubi.c @@ -6,6 +6,7 @@ #include <common.h> #include <config.h> +#include <image.h> #include <nand.h> #include <onenand_uboot.h> #include <ubispl.h> diff --git a/common/spl/spl_xip.c b/common/spl/spl_xip.c index 1af4da8725..f857278018 100644 --- a/common/spl/spl_xip.c +++ b/common/spl/spl_xip.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <image.h> #include <spl.h> static int spl_xip(struct spl_image_info *spl_image, diff --git a/common/spl/spl_ymodem.c b/common/spl/spl_ymodem.c index 8500ee8ba5..414e62176b 100644 --- a/common/spl/spl_ymodem.c +++ b/common/spl/spl_ymodem.c @@ -10,6 +10,7 @@ */ #include <common.h> #include <gzip.h> +#include <image.h> #include <spl.h> #include <xyzModem.h> #include <asm/u-boot.h> |