diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:01 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 17:33:33 -0400 |
commit | 4d72caa5b96b71e49b63f98bd8548b194380b544 (patch) | |
tree | 8e636424599794d122342437e21fb601a7c62180 /common/spl | |
parent | 52f24238046ca28085f6de946d0358e5c7c7cbe8 (diff) | |
download | u-boot-4d72caa5b96b71e49b63f98bd8548b194380b544.tar.gz |
common: Drop image.h from common header
Move this uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/spl')
-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 |
12 files changed, 14 insertions, 0 deletions
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> |