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 /arch | |
parent | 52f24238046ca28085f6de946d0358e5c7c7cbe8 (diff) |
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 'arch')
34 files changed, 38 insertions, 0 deletions
diff --git a/arch/arc/lib/bootm.c b/arch/arc/lib/bootm.c index 1b08ffe285..9fa6aaf3b2 100644 --- a/arch/arc/lib/bootm.c +++ b/arch/arc/lib/bootm.c @@ -5,7 +5,9 @@ #include <common.h> #include <bootstage.h> +#include <image.h> #include <irq_func.h> +#include <lmb.h> #include <asm/cache.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c index 8110412da6..e73689ce26 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <fdt_support.h> #include <asm/arch-fsl-layerscape/immap_lsch3.h> #include <asm/arch-fsl-layerscape/fsl_icid.h> #include <asm/arch-fsl-layerscape/fsl_portals.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/mp.c b/arch/arm/cpu/armv8/fsl-layerscape/mp.c index 4e779dde1d..4ef2a30278 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/mp.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/mp.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <image.h> #include <asm/cache.h> #include <asm/io.h> #include <asm/system.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c index 2c0ce80c0c..c0201341ea 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c @@ -7,6 +7,7 @@ #include <clock_legacy.h> #include <cpu_func.h> #include <env.h> +#include <image.h> #include <spl.h> #include <asm/cache.h> #include <asm/io.h> diff --git a/arch/arm/cpu/armv8/sec_firmware.c b/arch/arm/cpu/armv8/sec_firmware.c index 36f40a4015..c7445e647e 100644 --- a/arch/arm/cpu/armv8/sec_firmware.c +++ b/arch/arm/cpu/armv8/sec_firmware.c @@ -6,6 +6,8 @@ #include <common.h> #include <cpu_func.h> #include <errno.h> +#include <fdt_support.h> +#include <image.h> #include <asm/cache.h> #include <linux/kernel.h> #include <asm/io.h> diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index c189bdcf9a..68beea2c9d 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -17,6 +17,7 @@ #include <cpu_func.h> #include <dm.h> #include <hang.h> +#include <lmb.h> #include <dm/root.h> #include <env.h> #include <image.h> diff --git a/arch/arm/lib/image.c b/arch/arm/lib/image.c index 699bf44e70..9cf4a67406 100644 --- a/arch/arm/lib/image.c +++ b/arch/arm/lib/image.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <image.h> #include <mapmem.h> #include <linux/sizes.h> diff --git a/arch/arm/lib/zimage.c b/arch/arm/lib/zimage.c index 49305299b3..477ea94997 100644 --- a/arch/arm/lib/zimage.c +++ b/arch/arm/lib/zimage.c @@ -7,6 +7,7 @@ * Copyright (C) 2012 Marek Vasut <marek.vasut@gmail.com> */ #include <common.h> +#include <image.h> #define LINUX_ARM_ZIMAGE_MAGIC 0x016f2818 #define BAREBOX_IMAGE_MAGIC 0x00786f62 diff --git a/arch/arm/mach-imx/misc.c b/arch/arm/mach-imx/misc.c index 31e95a9a28..6744fbda46 100644 --- a/arch/arm/mach-imx/misc.c +++ b/arch/arm/mach-imx/misc.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <lmb.h> #include <asm/arch/sys_proto.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c index 33273b8eff..af1020be95 100644 --- a/arch/arm/mach-k3/common.c +++ b/arch/arm/mach-k3/common.c @@ -8,6 +8,7 @@ #include <common.h> #include <cpu_func.h> +#include <image.h> #include <spl.h> #include "common.h" #include <dm.h> diff --git a/arch/arm/mach-k3/security.c b/arch/arm/mach-k3/security.c index dd7c998487..256b0526f2 100644 --- a/arch/arm/mach-k3/security.c +++ b/arch/arm/mach-k3/security.c @@ -10,6 +10,7 @@ #include <cpu_func.h> #include <dm.h> #include <hang.h> +#include <image.h> #include <asm/cache.h> #include <linux/soc/ti/ti_sci_protocol.h> #include <mach/spl.h> diff --git a/arch/arm/mach-k3/sysfw-loader.c b/arch/arm/mach-k3/sysfw-loader.c index 6d54b65f08..472b5085ed 100644 --- a/arch/arm/mach-k3/sysfw-loader.c +++ b/arch/arm/mach-k3/sysfw-loader.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <image.h> #include <spl.h> #include <malloc.h> #include <remoteproc.h> diff --git a/arch/arm/mach-keystone/mon.c b/arch/arm/mach-keystone/mon.c index b7de9ba099..58995d73ac 100644 --- a/arch/arm/mach-keystone/mon.c +++ b/arch/arm/mach-keystone/mon.c @@ -6,6 +6,7 @@ */ #include <hang.h> +#include <image.h> #include <asm/unaligned.h> #include <common.h> #include <command.h> diff --git a/arch/arm/mach-rockchip/misc.c b/arch/arm/mach-rockchip/misc.c index 6dbb9bde48..17066bcf8b 100644 --- a/arch/arm/mach-rockchip/misc.c +++ b/arch/arm/mach-rockchip/misc.c @@ -12,6 +12,7 @@ #include <common.h> #include <env.h> #include <dm.h> +#include <hash.h> #include <dm/uclass-internal.h> #include <misc.h> #include <u-boot/crc.h> diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach-rockchip/rk3399/rk3399.c index dafa142824..3a51194108 100644 --- a/arch/arm/mach-rockchip/rk3399/rk3399.c +++ b/arch/arm/mach-rockchip/rk3399/rk3399.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <fdt_support.h> #include <spl.h> #include <spl_gpio.h> #include <syscon.h> diff --git a/arch/arm/mach-rockchip/spl.c b/arch/arm/mach-rockchip/spl.c index 0b76af6080..2796e41369 100644 --- a/arch/arm/mach-rockchip/spl.c +++ b/arch/arm/mach-rockchip/spl.c @@ -7,6 +7,7 @@ #include <debug_uart.h> #include <dm.h> #include <hang.h> +#include <image.h> #include <ram.h> #include <spl.h> #include <asm/arch-rockchip/bootrom.h> diff --git a/arch/arm/mach-stm32mp/dram_init.c b/arch/arm/mach-stm32mp/dram_init.c index 3233415eff..24389d5cf1 100644 --- a/arch/arm/mach-stm32mp/dram_init.c +++ b/arch/arm/mach-stm32mp/dram_init.c @@ -5,6 +5,8 @@ #include <common.h> #include <dm.h> +#include <image.h> +#include <init.h> #include <lmb.h> #include <ram.h> diff --git a/arch/arm/mach-sunxi/spl_spi_sunxi.c b/arch/arm/mach-sunxi/spl_spi_sunxi.c index a3997b2590..612942025b 100644 --- a/arch/arm/mach-sunxi/spl_spi_sunxi.c +++ b/arch/arm/mach-sunxi/spl_spi_sunxi.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <image.h> #include <spl.h> #include <asm/gpio.h> #include <asm/io.h> diff --git a/arch/arm/mach-zynq/spl.c b/arch/arm/mach-zynq/spl.c index 02a7dc9854..627c84ceba 100644 --- a/arch/arm/mach-zynq/spl.c +++ b/arch/arm/mach-zynq/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <debug_uart.h> #include <hang.h> +#include <image.h> #include <spl.h> #include <generated/dt.h> diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index 68df0a79c4..35dbff01bd 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <image.h> #include <init.h> #include <spl.h> diff --git a/arch/m68k/lib/bootm.c b/arch/m68k/lib/bootm.c index fb1170d00d..c36ee79c92 100644 --- a/arch/m68k/lib/bootm.c +++ b/arch/m68k/lib/bootm.c @@ -9,6 +9,7 @@ #include <command.h> #include <env.h> #include <image.h> +#include <lmb.h> #include <u-boot/zlib.h> #include <bzlib.h> #include <watchdog.h> diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c index f7303b790f..592ac97f82 100644 --- a/arch/microblaze/lib/bootm.c +++ b/arch/microblaze/lib/bootm.c @@ -15,6 +15,7 @@ #include <fdt_support.h> #include <hang.h> #include <image.h> +#include <lmb.h> #include <asm/cache.h> #include <u-boot/zlib.h> #include <asm/byteorder.h> diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 6a6764ac2d..ce2b076b7d 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -9,6 +9,7 @@ #include <env.h> #include <image.h> #include <fdt_support.h> +#include <lmb.h> #include <asm/addrspace.h> #include <asm/io.h> diff --git a/arch/mips/mach-jz47xx/jz4780/jz4780.c b/arch/mips/mach-jz47xx/jz4780/jz4780.c index 015840de25..26fcfc842c 100644 --- a/arch/mips/mach-jz47xx/jz4780/jz4780.c +++ b/arch/mips/mach-jz47xx/jz4780/jz4780.c @@ -10,6 +10,7 @@ #include <common.h> #include <cpu_func.h> #include <hang.h> +#include <image.h> #include <init.h> #include <asm/io.h> #include <asm/sections.h> diff --git a/arch/nds32/include/asm/u-boot-nds32.h b/arch/nds32/include/asm/u-boot-nds32.h index 7d39320c15..f086f34729 100644 --- a/arch/nds32/include/asm/u-boot-nds32.h +++ b/arch/nds32/include/asm/u-boot-nds32.h @@ -12,6 +12,8 @@ #ifndef _U_BOOT_NDS32_H_ #define _U_BOOT_NDS32_H_ 1 +#include <linux/types.h> + /* for the following variables, see start.S */ extern ulong IRQ_STACK_START; /* top of IRQ stack */ extern ulong FIQ_STACK_START; /* top of FIQ stack */ diff --git a/arch/nios2/lib/bootm.c b/arch/nios2/lib/bootm.c index e1891617c7..bec18fe28f 100644 --- a/arch/nios2/lib/bootm.c +++ b/arch/nios2/lib/bootm.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> +#include <image.h> #include <irq_func.h> #define NIOS_MAGIC 0x534f494e /* enable command line and initrd passing */ diff --git a/arch/powerpc/include/asm/fsl_i2c.h b/arch/powerpc/include/asm/fsl_i2c.h index fbf32b9a07..73105fa8e4 100644 --- a/arch/powerpc/include/asm/fsl_i2c.h +++ b/arch/powerpc/include/asm/fsl_i2c.h @@ -14,6 +14,7 @@ #define _ASM_FSL_I2C_H_ #include <asm/types.h> +#include <linux/compiler.h> typedef struct fsl_i2c_base { diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index 1cef75c4be..8aec8c9fd3 100644 --- a/arch/powerpc/lib/bootm.c +++ b/arch/powerpc/lib/bootm.c @@ -12,6 +12,7 @@ #include <cpu_func.h> #include <env.h> #include <init.h> +#include <lmb.h> #include <watchdog.h> #include <command.h> #include <image.h> diff --git a/arch/riscv/lib/image.c b/arch/riscv/lib/image.c index 7357d3b07d..91b7f1624e 100644 --- a/arch/riscv/lib/image.c +++ b/arch/riscv/lib/image.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <image.h> #include <mapmem.h> #include <errno.h> #include <linux/sizes.h> diff --git a/arch/sandbox/lib/bootm.c b/arch/sandbox/lib/bootm.c index d38c3164c1..d1d460b84a 100644 --- a/arch/sandbox/lib/bootm.c +++ b/arch/sandbox/lib/bootm.c @@ -6,6 +6,7 @@ #include <common.h> #include <bootstage.h> +#include <image.h> #include <asm/io.h> #define LINUX_ARM_ZIMAGE_MAGIC 0x016f2818 diff --git a/arch/sh/lib/bootm.c b/arch/sh/lib/bootm.c index 2896e45f0d..5f14a04ab4 100644 --- a/arch/sh/lib/bootm.c +++ b/arch/sh/lib/bootm.c @@ -9,6 +9,7 @@ #include <common.h> #include <command.h> +#include <image.h> #include <asm/byteorder.h> #include <asm/zimage.h> diff --git a/arch/x86/cpu/apollolake/spl.c b/arch/x86/cpu/apollolake/spl.c index a555e6c0d3..1cf7cebff5 100644 --- a/arch/x86/cpu/apollolake/spl.c +++ b/arch/x86/cpu/apollolake/spl.c @@ -7,6 +7,7 @@ #include <binman_sym.h> #include <bootstage.h> #include <dm.h> +#include <image.h> #include <malloc.h> #include <spi.h> #include <spl.h> diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index 212b4d596d..bdae9291e7 100644 --- a/arch/x86/lib/spl.c +++ b/arch/x86/lib/spl.c @@ -8,6 +8,7 @@ #include <debug_uart.h> #include <dm.h> #include <hang.h> +#include <image.h> #include <irq_func.h> #include <malloc.h> #include <spl.h> diff --git a/arch/x86/lib/tpl.c b/arch/x86/lib/tpl.c index 34804b53cc..f9dcf32d73 100644 --- a/arch/x86/lib/tpl.c +++ b/arch/x86/lib/tpl.c @@ -7,6 +7,7 @@ #include <debug_uart.h> #include <dm.h> #include <hang.h> +#include <image.h> #include <spl.h> #include <asm/cpu.h> #include <asm/mtrr.h> |