]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common: Drop image.h from common header
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 17:40:01 +0000 (11:40 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 18 May 2020 21:33:33 +0000 (17:33 -0400)
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass <sjg@chromium.org>
173 files changed:
arch/arc/lib/bootm.c
arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
arch/arm/cpu/armv8/fsl-layerscape/mp.c
arch/arm/cpu/armv8/fsl-layerscape/spl.c
arch/arm/cpu/armv8/sec_firmware.c
arch/arm/lib/bootm.c
arch/arm/lib/image.c
arch/arm/lib/zimage.c
arch/arm/mach-imx/misc.c
arch/arm/mach-k3/common.c
arch/arm/mach-k3/security.c
arch/arm/mach-k3/sysfw-loader.c
arch/arm/mach-keystone/mon.c
arch/arm/mach-rockchip/misc.c
arch/arm/mach-rockchip/rk3399/rk3399.c
arch/arm/mach-rockchip/spl.c
arch/arm/mach-stm32mp/dram_init.c
arch/arm/mach-sunxi/spl_spi_sunxi.c
arch/arm/mach-zynq/spl.c
arch/arm/mach-zynqmp/spl.c
arch/m68k/lib/bootm.c
arch/microblaze/lib/bootm.c
arch/mips/lib/bootm.c
arch/mips/mach-jz47xx/jz4780/jz4780.c
arch/nds32/include/asm/u-boot-nds32.h
arch/nios2/lib/bootm.c
arch/powerpc/include/asm/fsl_i2c.h
arch/powerpc/lib/bootm.c
arch/riscv/lib/image.c
arch/sandbox/lib/bootm.c
arch/sh/lib/bootm.c
arch/x86/cpu/apollolake/spl.c
arch/x86/lib/spl.c
arch/x86/lib/tpl.c
board/AndesTech/ax25-ae350/ax25-ae350.c
board/Arcturus/ucp1020/ucp1020.c
board/advantech/imx8qm_rom7720_a1/spl.c
board/aristainetos/aristainetos.c
board/dhelectronics/dh_imx6/dh_imx6.c
board/emulation/qemu-riscv/qemu-riscv.c
board/engicam/common/spl.c
board/freescale/b4860qds/b4860qds.c
board/freescale/bsc9131rdb/bsc9131rdb.c
board/freescale/bsc9132qds/bsc9132qds.c
board/freescale/c29xpcie/c29xpcie.c
board/freescale/corenet_ds/corenet_ds.c
board/freescale/corenet_ds/eth_p4080.c
board/freescale/imx8mm_evk/spl.c
board/freescale/imx8mn_evk/spl.c
board/freescale/imx8mp_evk/spl.c
board/freescale/imx8mq_evk/spl.c
board/freescale/imx8qm_mek/spl.c
board/freescale/imx8qxp_mek/spl.c
board/freescale/ls1046afrwy/eth.c
board/freescale/ls1046ardb/eth.c
board/freescale/lx2160a/eth_lx2160aqds.c
board/freescale/lx2160a/eth_lx2160ardb.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/mx6sabreauto/mx6sabreauto.c
board/freescale/mx6sabresd/mx6sabresd.c
board/freescale/p1010rdb/p1010rdb.c
board/freescale/p1022ds/p1022ds.c
board/freescale/p1023rdb/p1023rdb.c
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
board/freescale/p1_twr/p1_twr.c
board/freescale/p2041rdb/p2041rdb.c
board/freescale/t102xqds/eth_t102xqds.c
board/freescale/t102xqds/t102xqds.c
board/freescale/t102xrdb/eth_t102xrdb.c
board/freescale/t102xrdb/t102xrdb.c
board/freescale/t1040qds/eth.c
board/freescale/t1040qds/t1040qds.c
board/freescale/t104xrdb/t104xrdb.c
board/freescale/t208xqds/eth_t208xqds.c
board/freescale/t208xqds/t208xqds.c
board/freescale/t208xrdb/eth_t208xrdb.c
board/freescale/t208xrdb/t208xrdb.c
board/freescale/t4qds/eth.c
board/freescale/t4qds/t4240emu.c
board/freescale/t4qds/t4240qds.c
board/freescale/t4rdb/eth.c
board/freescale/t4rdb/t4240rdb.c
board/gateworks/gw_ventana/gw_ventana.c
board/gdsys/p1022/controlcenterd.c
board/ge/bx50v3/bx50v3.c
board/highbank/highbank.c
board/keymile/kmp204x/kmp204x.c
board/liebherr/display5/display5.c
board/liebherr/display5/spl.c
board/liebherr/mccmon6/spl.c
board/liebherr/xea/xea.c
board/mscc/jr2/jr2.c
board/mscc/luton/luton.c
board/mscc/ocelot/ocelot.c
board/mscc/serval/serval.c
board/mscc/servalt/servalt.c
board/renesas/rcar-common/common.c
board/renesas/rcar-common/gen3-spl.c
board/renesas/salvator-x/salvator-x.c
board/renesas/ulcb/ulcb.c
board/solidrun/mx6cuboxi/mx6cuboxi.c
board/st/stm32mp1/stm32mp1.c
board/sunxi/board.c
board/synopsys/hsdk/hsdk.c
board/technexion/pico-imx6/spl.c
board/ti/am335x/board.c
board/ti/am43xx/board.c
board/ti/am57xx/board.c
board/ti/am65x/evm.c
board/ti/dra7xx/evm.c
board/ti/j721e/evm.c
board/ti/ks2_evm/board.c
board/ti/ks2_evm/board_k2e.c
board/ti/ks2_evm/board_k2g.c
board/ti/ks2_evm/board_k2hk.c
board/ti/ks2_evm/board_k2l.c
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/verdin-imx8mm/spl.c
board/tqc/tqma6/tqma6.c
board/varisys/cyrus/cyrus.c
board/wandboard/wandboard.c
cmd/abootimg.c
cmd/bootefi.c
cmd/fdt.c
cmd/fpga.c
cmd/md5sum.c
cmd/spl.c
common/bootm_os.c
common/fdt_region.c
common/hash.c
common/image-fdt.c
common/image-fit.c
common/image-sig.c
common/image.c
common/spl/spl_atf.c
common/spl/spl_legacy.c
common/spl/spl_nand.c
common/spl/spl_net.c
common/spl/spl_nor.c
common/spl/spl_onenand.c
common/spl/spl_opensbi.c
common/spl/spl_ram.c
common/spl/spl_spi.c
common/spl/spl_ubi.c
common/spl/spl_xip.c
common/spl/spl_ymodem.c
drivers/fastboot/fb_mmc.c
drivers/fpga/socfpga_arria10.c
drivers/i2c/muxes/i2c-mux-gpio.c
drivers/net/fm/fdt.c
drivers/net/fm/init.c
drivers/net/fsl-mc/mc.c
drivers/net/fsl_enetc.c
drivers/net/mvpp2.c
drivers/net/pfe_eth/pfe_firmware.c
drivers/net/ti/keystone_net.c
drivers/phy/marvell/comphy_core.c
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
drivers/pinctrl/pinctrl-sti.c
drivers/pinctrl/pinctrl_stm32.c
drivers/pinctrl/rockchip/pinctrl-rockchip-core.c
drivers/spi/fsl_qspi.c
drivers/thermal/imx_scu_thermal.c
include/asm-generic/u-boot.h
include/common.h
include/tee/optee.h
include/vxworks.h
lib/lmb.c
net/tftp.c
test/compression.c
test/overlay/cmd_ut_overlay.c
tools/imx8image.c

index 1b08ffe2857cda9f975ec14e84c39ecef44dab78..9fa6aaf3b2d7e920bdb95747b100425f602431f8 100644 (file)
@@ -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;
index 8110412da60381d5b03d086871c71135110bb24b..e73689ce269d0f6752e47002a80b7de2516bd006 100644 (file)
@@ -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>
index 4e779dde1db94dabb52de4fbd6f871eaab7279c1..4ef2a302785c543fbdcc2ddcce0ac7941d876cb2 100644 (file)
@@ -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>
index 2c0ce80c0cac4435cd2a25adb0e97add6ff2a667..c0201341ea70a185de840a3c61623bf8971d9726 100644 (file)
@@ -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>
index 36f40a4015d6606b8adf8805d9cd00880008e943..c7445e647ee26e796890f2da2b3048b0686f606d 100644 (file)
@@ -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>
index c189bdcf9a08bd1e3513dc9319563c3c7ad0a9f1..68beea2c9db20b49aaf82f99c77c7c153324bfa1 100644 (file)
@@ -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>
index 699bf44e702f7a7084997406203fd7d2aaaf87fa..9cf4a67406ea4b9545a425f1d9d9dbce6d737e69 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <mapmem.h>
 #include <linux/sizes.h>
 
index 49305299b39a9f473b8578c4b5957cf285711703..477ea94997de090e952bb08679d18de7df03da8e 100644 (file)
@@ -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
index 31e95a9a28899a3e7ff7e7df733940cf9fc8ee6b..6744fbda46d0098e73706e90c6d1e3479eeac59b 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <lmb.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index 33273b8eff6943732b17284fbac3517841240df1..af1020be9529c7769e0afea536732d95c71eee45 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <image.h>
 #include <spl.h>
 #include "common.h"
 #include <dm.h>
index dd7c998487ff8235426b81cbe18bae083c19fa8d..256b0526f229cb9743a7bdd22e47befabb5c2c3e 100644 (file)
@@ -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>
index 6d54b65f08ca05cc1644258ae72d91a363909efe..472b5085ed83ca45726865152947ecb01e08cc99 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <spl.h>
 #include <malloc.h>
 #include <remoteproc.h>
index b7de9ba099de3922919b9dce12370e64e100e99b..58995d73ac86d06801728fc4ee7ca9141955d82d 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <hang.h>
+#include <image.h>
 #include <asm/unaligned.h>
 #include <common.h>
 #include <command.h>
index 6dbb9bde483a0ede9a276fa1743680833569409e..17066bcf8bc3b121a6e6aa3d0d08e8c4176fec1d 100644 (file)
@@ -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>
index dafa142824c32b159f4f7178a7f26304ab871a5b..3a511941080f903d320ef61eecfb7ecf889c5974 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <fdt_support.h>
 #include <spl.h>
 #include <spl_gpio.h>
 #include <syscon.h>
index 0b76af6080c921f932e9b94cc2658b01be14c02a..2796e41369a40e7c8ea0476470c26fd31dd6350c 100644 (file)
@@ -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>
index 3233415eff7c1298f7561ca8d324cd5298167260..24389d5cf1e32c042cd838d4cdccd9aa20ab0408 100644 (file)
@@ -5,6 +5,8 @@
 
 #include <common.h>
 #include <dm.h>
+#include <image.h>
+#include <init.h>
 #include <lmb.h>
 #include <ram.h>
 
index a3997b25901d906813c1f58bea7b46a8a428cdd6..612942025bccadd02d9104a889b988467e680394 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <spl.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index 02a7dc9854753dfad2f277c0ad23a87b5b561eb5..627c84cebaeca9ed5b16f68d6313a05ce17176ca 100644 (file)
@@ -5,6 +5,7 @@
 #include <common.h>
 #include <debug_uart.h>
 #include <hang.h>
+#include <image.h>
 #include <spl.h>
 #include <generated/dt.h>
 
index 68df0a79c4e5e3a5ada00ae686bb1403f0a2453c..35dbff01bdb82d0677a24f8514b0b798c8e55bdc 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <spl.h>
 
index fb1170d00d769eacffc8eb3c4b38f80e54f6f168..c36ee79c923f5774aa7393fe806bb496232bdc6b 100644 (file)
@@ -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>
index f7303b790fcb3941489c5bee9a630a0a88a9b5e8..592ac97f827326069d76414597f4b526706a3cfb 100644 (file)
@@ -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>
index 6a6764ac2db290aee07e4f9b2b3eb3ab482c818c..ce2b076b7d4581f8597dbaa01976a2ca31443b9d 100644 (file)
@@ -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>
 
index 015840de256725ddb60de744a395758ce3f9a99b..26fcfc842c28a16a1ec2b20074e6ea3a6c6594a5 100644 (file)
@@ -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>
index 7d39320c15082ba894858d3037a96b23cde53660..f086f34729f60dda67d1eec59d32031f15b34aab 100644 (file)
@@ -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 */
index e1891617c761d75cf10e2e21101a83ec2a6d6738..bec18fe28f67b79b06a491c422bd95b50642c51f 100644 (file)
@@ -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 */
index fbf32b9a07a57e7d9968a1bee7fd4de6d4fd9ece..73105fa8e48468a640d2281552134068101422a0 100644 (file)
@@ -14,6 +14,7 @@
 #define _ASM_FSL_I2C_H_
 
 #include <asm/types.h>
+#include <linux/compiler.h>
 
 typedef struct fsl_i2c_base {
 
index 1cef75c4bef9f08f55a4a406715e4feec3645289..8aec8c9fd3bd38077e82ff95136f5e4e1a7b862c 100644 (file)
@@ -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>
index 7357d3b07d6cd02c920d43660e87408d91b29482..91b7f1624e9fc4a92bc865b9e8422e5cd78eb232 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <mapmem.h>
 #include <errno.h>
 #include <linux/sizes.h>
index d38c3164c12eefb0e107698603495f5124738d8c..d1d460b84a4426cdccd0a4d6f1a0b4f42acb4f2f 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <bootstage.h>
+#include <image.h>
 #include <asm/io.h>
 
 #define        LINUX_ARM_ZIMAGE_MAGIC  0x016f2818
index 2896e45f0df8bf05949ef4c0af03fb2b13c58374..5f14a04ab41f370da86adadbe8329565fbbccfef 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <image.h>
 #include <asm/byteorder.h>
 #include <asm/zimage.h>
 
index a555e6c0d3886e8ac79557907b202ff2f349aaa9..1cf7cebff5295bf4996724a18ddf3116595e3b3c 100644 (file)
@@ -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>
index 212b4d596d20d86c5d4dfa3cb05800ada3d68a34..bdae9291e72c452791e7b8fe235aeed2e99095e3 100644 (file)
@@ -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>
index 34804b53ccaef2365969f49ca58dddbf3102e297..f9dcf32d73322b059c074e26df747a449950e6d4 100644 (file)
@@ -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>
index 920d43ecc69186d2e643895ae66abb53db8f565c..da5bc5b1f12a53adef5c0a330fd201cd6b7e0416 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <flash.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
index dfa1fd4f153116526148fdb1de09000ca1569032..240e80413792b4f08e1b6b971ea00bb517ff1b85 100644 (file)
@@ -12,6 +12,7 @@
 #include <command.h>
 #include <env.h>
 #include <hwconfig.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <pci.h>
index 3f31a8f9c3d28c86b55297ab49dcc4b6fbd34521..6863da82d6ece47ae6517dda67b9aea900e79f18 100644 (file)
@@ -4,6 +4,7 @@
  */
 #include <common.h>
 #include <dm.h>
+#include <image.h>
 #include <spl.h>
 #include <fsl_esdhc.h>
 
index 70671039c288278074b055f730fee5b03c284740..5095cf65d1391cb6305649ae0c9715cf8ed85a15 100644 (file)
@@ -9,6 +9,7 @@
  * Author: Fabio Estevam <fabio.estevam@freescale.com>
  */
 
+#include <image.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
index 74b461983cf41f6175f1ea76e2217bf5b68bd03b..4df293b7abdb5689be459148c04fabd2943a3015 100644 (file)
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <dm.h>
 #include <eeprom.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <dm/device-internal.h>
index c3f96988b1d49c63ec012da5c09772db2304dfd7..b814df780c27296bcbe98ad47d8204153a9396ed 100644 (file)
@@ -7,6 +7,7 @@
 #include <dm.h>
 #include <env.h>
 #include <fdtdec.h>
+#include <image.h>
 #include <spl.h>
 #include <init.h>
 #include <virtio_types.h>
index a9820a9028e23a89450dab3c3c78d7ad8b2a136a..6359fb32234f29101f311f0e7e75373470235ab3 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <serial.h>
 #include <spl.h>
 
index e7f684bfb3a4da03887a386689ce68d60c892f0a..037a8beb64d5fd050fa512c2dd6830e60b53e247 100644 (file)
@@ -8,6 +8,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <irq_func.h>
 #include <netdev.h>
index 30e7a1f7ed90a578260b0cb7e67e4cf6f8704783..871d066d6812fb7ac4716c0be8665fcadf5d1071 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <asm/cache.h>
index 89742dfedb8148b5a34c5e004cce22d04beecdc2..6870674f7a4144a6fd29eada5274519a69018ca5 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <asm/processor.h>
index 17292936b764f7e365000d84dce038f002fde23d..74502c6d18e9da807c246f6e9c3afd27f6a4276b 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <asm/processor.h>
index 66eea32e0779c78bf72527bc908e1a8eb6c0fd71..f0c7bed68f0c7550b54805963cf7de04faf7de68 100644 (file)
@@ -7,6 +7,7 @@
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index b1989bcbc23582b9e6c6a3d15ab6d11903b3755b..5892bbd62cadf64128cae15cd0224d3ff831ee4b 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
index 4d34622465b39f2ad37f502348e9577a7a920477..f73ade5549c23276868ff52a2524bb076d6217ff 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
+#include <image.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/mach-imx/iomux-v3.h>
index 45417b24464d026fb78ed8072a406c6cd5876ee1..7cb7f6e60b63d893387ecd5fa4f33696f00312bc 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
+#include <image.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/mach-imx/iomux-v3.h>
index c5f640dc7b76253813a3a849c2a6611ecce90331..79b504d4090e809d683ea8d5191200ff3f84c292 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
+#include <image.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <errno.h>
index 6ba6a52ebb60e9695f170d1e21ec2191ffd21304..8b5b240edf0fa5b1db15b5d456ac4b290352aa75 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <hang.h>
+#include <image.h>
 #include <asm/io.h>
 #include <errno.h>
 #include <asm/io.h>
index ba99002cf29cfd608f0d1e865e960f6bf29c759c..5a0a2f5d2f177ebf3f12a900af917a8fc343ed3c 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <image.h>
 #include <spl.h>
 #include <dm/uclass.h>
 #include <dm/device.h>
index eefee64ab18f77fd61a31ac749dd2f449ed75be3..1ced8f770aad02ada8ceaddf11380d2188042e9f 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <image.h>
 #include <spl.h>
 #include <dm/uclass.h>
 #include <dm/device.h>
index 3f7c35b5c951cf26e0da8ff90fad5861c1696690..09a692be1dcb9f4f505137af7fbde15dcb52b389 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2019 NXP
  */
 #include <common.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <asm/io.h>
 #include <netdev.h>
index 6ffd4aec3e44102aa47c7bcac53c6cc3da281c22..f3b1dcd306d64f4f5583375ee9514a92d6625c99 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2016 Freescale Semiconductor, Inc.
  */
 #include <common.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <asm/io.h>
 #include <netdev.h>
index 0e928ebd8689f092fc8454090732fb20eef236bb..7ffc85d1a131f103596f4bea634ae737863b4e59 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <fdt_support.h>
 #include <hwconfig.h>
 #include <command.h>
 #include <net.h>
@@ -20,6 +21,7 @@
 #include <asm/arch/fsl_serdes.h>
 #include <fsl-mc/fsl_mc.h>
 #include <fsl-mc/ldpaa_wriop.h>
+#include <linux/libfdt.h>
 
 #include "../common/qixis.h"
 
index aeb989a638b7ac5388f16106c7bafa2efea3f10b..21fb559250ce18d0c6495a6e152b85743112f88b 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <malloc.h>
index b7e0eeded529b30dcfb061a8d99675c344dbae13..13cfe159ae1c7b1493edcafb1decb6c8d05a5e58 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <pci.h>
index 33da3914d3edb4976a2f8ff257c6ccc2740894b9..829e42f6771b9bbf3eecdf2ed3e6814724013dd6 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <asm/io.h>
index d46dcd4b8a7571b93584a29e0dabb2472afe913c..8d24af0a99e46b906adbe8b5fb724a6c083eb481 100644 (file)
@@ -5,6 +5,7 @@
  * Author: Fabio Estevam <fabio.estevam@freescale.com>
  */
 
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/clock.h>
index 782c2b71bc1e174b8416548d58638ea75a5da45c..1adc898441e9191a060fe03a6fdb69ac04f5faf7 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <asm/processor.h>
index 33edff9727d9cbef43b0daea68f9dc9995746444..244a053d7a42b06d0850334c2b59bedf8254b515 100644 (file)
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <pci.h>
index 5321e26a9cf02fe017c76cd9546f3bcea9b539e8..13df3e86379cb3eb60e02ebbe5ee0dc45a13d7ff 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <pci.h>
index 5d619dbd2e9d8fec7431c0f1056f770bc43992da..59c57e43a54900addc2abbcfe55fd1c35becf7af 100644 (file)
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <hang.h>
 #include <hwconfig.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <pci.h>
index 6d0e1b1ffa0a171e0f6beab7f3805fc301f02d17..8e1522a60455332aa4684773cd79a051d490208f 100644 (file)
@@ -7,6 +7,7 @@
 #include <command.h>
 #include <env.h>
 #include <hwconfig.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <pci.h>
index 95ed0ef429eb570b60edcc13919c46eacaadcc7e..076e63a35734f7ba7b42950c2c44e9e065ae6c59 100644 (file)
@@ -7,6 +7,7 @@
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 1820419511b7ab291c62b256054477d3b25ba644..4a3be4c569075aebd91838fa8bb78b6cd8661500 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
index 32b4780376a63d1dd21dfcf4c1c5e01e89fc8319..311d9efbfcb39739041ec8f278e17bc79c4f4c4c 100644 (file)
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index d40b590108007b3e2797b5729f5ce02a6b4ee57e..dbf25a237d1cc6b3115a143e919faa1d94475d85 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
index a34490c8bdcf46c3046ccec0c9c27ec6695ff33a..983c723a10e99e75345b4f8cd8a4f8712a0c1c4c 100644 (file)
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 3f10e420a016cff6b74f39244f48f4efaeda66fd..b349b77951b7094b0b33e2509fa9ac553463bdee 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <common.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
index 9e253fdec27d079e08c5c6233065823570c724dc..c166403ba4c71882d9022b94c55dc4720b02a4d5 100644 (file)
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index dc3b59d26f9d10b967dacb92968153d5d8db5818..a156d2ee09a1622994079cf5058dcdb88869a066 100644 (file)
@@ -8,6 +8,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <hwconfig.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 72991ea5912956203f224fb98630ee4d11cce153..057fe411e974c80be1b8850af83376c8bd3e0866 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
@@ -28,6 +29,7 @@
 #include "../common/qixis.h"
 #include "../common/fman.h"
 #include "t208xqds_qixis.h"
+#include <linux/libfdt.h>
 
 #define EMI_NONE       0xFFFFFFFF
 #define EMI1_RGMII1    0
index 91004010223d6fb24277a23ff4f2e48a771ebc9e..9bf6ab1037127cad616e06e11712f0959f1d97f6 100644 (file)
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 669bc1efefb91d59c0363e5e1629bed5b532a141..db4718128dc9585459de3efff760a447342c9330 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
index b5c20112d0e5b2d40b64ef92ac0222974fec2520..24f0d0764cec3f113ef520d168a449c91715bcf3 100644 (file)
@@ -8,6 +8,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index d93d75950cb86b56098b6779b01789cbcd2f505a..8a9f631e8dab45c2330a7661fc1f35aab5475fbf 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
@@ -26,6 +27,7 @@
 #include <hwconfig.h>
 #include "../common/qixis.h"
 #include "../common/fman.h"
+#include <linux/libfdt.h>
 
 #include "t4240qds_qixis.h"
 
index 104b40a110969dfc9006ff61ae92e157dce37cb1..8f2032acc7b27433d4145e68c9306b4df860a032 100644 (file)
@@ -8,6 +8,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 869c01de92b91fd2658058f119849d8844e63c10..0b00ec6e29035271dcaa41ad6b16e1e322a25a8f 100644 (file)
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <irq_func.h>
 #include <netdev.h>
index 3321ce1ea1ce67e529729c99f3c0aa4702006844..4c896c8a90d001fdc91e0f331af5b24556cc2d42 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
index 8015666eccd93a9e3852fa718992e62f0c102d84..d801f2c7a1b550dad5c993a96c07019f43eac097 100644 (file)
@@ -8,6 +8,7 @@
 #include <env.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 6c818643192836a08c12ed91d1f163cd19cf59b9..1443ef91ef40d5e5011e505831ae2d3916102a67 100644 (file)
@@ -33,6 +33,7 @@
 #include <mtd_node.h>
 #include <netdev.h>
 #include <pci.h>
+#include <linux/libfdt.h>
 #include <power/pmic.h>
 #include <power/ltc3676_pmic.h>
 #include <power/pfuze100_pmic.h>
index 14e3e25c18d0239ccc4e1cee83150f24015b7a2e..b39b0b60022173ebd70e39e59b3a1e6dd46af0e9 100644 (file)
@@ -24,6 +24,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <pci.h>
index 69cd0a1bc764a793dcd7b326e0b947ab0b19c650..6f7f752a8dc84029cdd9e3b5387c0185110aa464 100644 (file)
@@ -5,6 +5,7 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
+#include <image.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
index f7f2e2c52594d5b8b6f59ae4d13651f8757e7657..ffde1161d0b519985359c3629ff21427cd2ddf8a 100644 (file)
@@ -7,6 +7,7 @@
 #include <ahci.h>
 #include <cpu_func.h>
 #include <env.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <netdev.h>
 #include <scsi.h>
index 0a6cf1fd29a06e096aba336a9c188d3f0498a575..21afbc7f39aea27c405e2ca5b8d84be7a718396a 100644 (file)
@@ -10,6 +10,7 @@
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 85ca777c1d229e6a75b82aa03d6c5ccee9ee9677..a362d25c01a5c25e73917cf3a9ca1a4281cfb6af 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <fdt_support.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
index 765463e37070c6df7b2bf1c5299216b3335a9e77..0f5eab79b574a989b2a8f4b5d2ce48605e52f6de 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <env.h>
+#include <image.h>
 #include <serial.h>
 #include <spl.h>
 #include <linux/libfdt.h>
index 08d2b56d54b6ab79d2f4a8945f9fe6f0db53b7ea..8ed8e032956fdacfb40303e981329a3a9f84e86e 100644 (file)
@@ -5,6 +5,7 @@
  *         Richard Hu <hakahu@gmail.com>
  */
 
+#include <image.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
index 1a9c05275f8f3a790276d46f6f56521a81dbc6d7..95c90640668142fdfcffd34de3e8c39c0996fbaf 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <common.h>
+#include <fdt_support.h>
 #include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index 067907ba52c272fcff65443b9419b07f5af9d9af..b240c7649ced3a11b24a3da393761fe56f9fcbd5 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <asm/io.h>
 #include <led.h>
index e614058d10f9e178142183d3fcaa6e0330bcb5e3..acc26157c77125f80c1d21bb16382339bbcc3b4d 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <asm/io.h>
 #include <led.h>
index ad227a416934877982a6dab0e782190948f33e0c..5fbd8fc6cdee522aaad028136d08c995fa34c7c2 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
index 6c6dbf2bfffddd03f7453e6a5632f240e91f8de2..ed1aea55cc2fbeaef8747ae02c3c1e7037e7c902 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <asm/io.h>
 #include <led.h>
index 71891f6fe38dc0e611bb36147d1d63303f9a083f..d0e6016b9affc07b776b878185bfea9223aecc25 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <asm/io.h>
 #include <led.h>
index 37f8a46d7e5b8b5d936d89e205559d44a67ed872..5a6aa8255b37fe6bdafe37e4065742c6bb6cca7d 100644 (file)
@@ -11,6 +11,7 @@
 #include <dm.h>
 #include <dm/uclass-internal.h>
 #include <asm/arch/rmobile.h>
+#include <linux/libfdt.h>
 
 #ifdef CONFIG_RCAR_GEN3
 
index d9741c19398243ddd46f84310a7a67a6ef919c70..a3e2aebe776272826b72d03304b6bff7f875d25a 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <image.h>
 #include <asm/io.h>
 #include <spl.h>
 
index 91c3728571e65c55b9c3e3063b150ee8c5e705b8..ecf0dde4efb90738f3fb065b0e5f0789072ecbe5 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <image.h>
 #include <malloc.h>
 #include <netdev.h>
 #include <dm.h>
index b91f940b487ecd6b94cc2d62f3419e568fc0a8fb..04ca49572f41fa1ce73ca8c79f136e9bcabfcce1 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <malloc.h>
 #include <netdev.h>
 #include <dm.h>
index 262f6640d9d905907b4305361a41f231eb87f266..a2d7b1a1c8fb5bf7aad400a5575572e6a5687a4d 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/clock.h>
index 09090935e5c60faf6d48a9c1d369b253d7c9a956..571492274f4a68b677a2616d6a49af877ea358f4 100644 (file)
@@ -10,6 +10,7 @@
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
+#include <fdt_support.h>
 #include <g_dnl.h>
 #include <generic-phy.h>
 #include <hang.h>
index 6afea6ef42e42d6137ffc22319659512f1071ee6..e210824b4ef33ff437f9949c7da472b270c63418 100644 (file)
@@ -14,6 +14,7 @@
 #include <dm.h>
 #include <env.h>
 #include <hang.h>
+#include <image.h>
 #include <init.h>
 #include <mmc.h>
 #include <axp_pmic.h>
index e32e7827871ed5fa1225d7901422e516a1d2fb0c..e102d0f0688afc3270e80953b8b7fb31d5a5ad5a 100644 (file)
@@ -8,6 +8,7 @@
 #include <config.h>
 #include <cpu_func.h>
 #include <env.h>
+#include <image.h>
 #include <init.h>
 #include <irq_func.h>
 #include <asm/cache.h>
index bafe9ba6b7aa1145047ec4e184f6fba83ce87531..983f98beec3a2b28579f434ff1df64d3d75978b5 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
index c6de8602d088d12247a312ba1fbabf4bf4aaa5f2..56fe171aa751e2d7b853d4d4850c99589e49bd38 100644 (file)
@@ -11,6 +11,7 @@
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
+#include <image.h>
 #include <init.h>
 #include <malloc.h>
 #include <net.h>
index 87c7ef6b3f501f79696c461aff8e427bf4cd6b62..923b224e4c19ea762c013dcad7c9d24e637df8bd 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <eeprom.h>
+#include <image.h>
 #include <dm/uclass.h>
 #include <env.h>
 #include <fdt_support.h>
index c80a458c12509ca0b4712038fc8a7fdd8e8c555f..8720eb87a55d5e5a4f71287560922ff23cee7b73 100644 (file)
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <env.h>
 #include <fdt_support.h>
+#include <image.h>
 #include <init.h>
 #include <malloc.h>
 #include <net.h>
index 9d96710f05655878e6375e845e2b96661b25025e..346f745bb07c56064642a38f3d0c34a0e4eb5434 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <common.h>
 #include <dm.h>
+#include <fdt_support.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/sys_proto.h>
index 8f595989507f96c69f6694a769e90f06086182aa..acf7ff1691701a447602c85ab0ac7fdf2f547e6b 100644 (file)
@@ -12,6 +12,7 @@
 #include <common.h>
 #include <env.h>
 #include <fdt_support.h>
+#include <image.h>
 #include <init.h>
 #include <spl.h>
 #include <net.h>
index 7bc03edd53f5d71c709ad52525dc001e4522df7e..d9af309818d880bf62f93d88a0bde3ca7a0683fe 100644 (file)
@@ -8,6 +8,8 @@
  */
 
 #include <common.h>
+#include <fdt_support.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/sys_proto.h>
index 6554c0eb11869d8ebd645ab74b0ea36e18fdaefd..8595b20e87291c98ce67ad78c1999005dba147be 100644 (file)
@@ -10,6 +10,7 @@
 #include "board.h"
 #include <env.h>
 #include <hang.h>
+#include <image.h>
 #include <init.h>
 #include <spl.h>
 #include <exports.h>
index ecd4a42df40e8fc24a8333056ceefafd4c0bf291..350cc68e490e63dbd738255f14549e7f4e872fa0 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <asm/arch/ddr3.h>
 #include <asm/arch/hardware.h>
 #include <asm/ti-common/keystone_net.h>
index c6a14a05546959a7ae5a04abfef18e0053dde61b..21f002e3b1a1dc3cb895d8fd083beb19b59cc138 100644 (file)
@@ -9,6 +9,7 @@
 #include <eeprom.h>
 #include <env.h>
 #include <hang.h>
+#include <image.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/ti-common/keystone_net.h>
index 4c0acd627f2c3ce58d1b41bab3be9f667a9b7909..1eb6cd761e2931a21ffbe1bd66e933a54930f2d2 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/hardware.h>
 #include <asm/ti-common/keystone_net.h>
index e49d8b348236e3542a5aadb8fd84672c786e6f3b..5ff11ee0d6265e660f33268a1b170e4ed2dd61e5 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <asm/arch/ddr3.h>
 #include <asm/arch/hardware.h>
 #include <asm/ti-common/keystone_net.h>
index 47925568c6457d2b3a7f892bf75bf93c7f840f6c..dac9503c1b5d8e7dffa3e1c20a723b7ab29a6dde 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
+#include <image.h>
 #include <init.h>
 #include <net.h>
 
index dc5bd84f332e40eb542cb47abc1b4650ead764f5..c614fc7a3f7744c0b5ccf8809a5e5450ef3b831d 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mm_pins.h>
index 675341abdde37bc4c9249c5aa1442245c651f2a4..d7df4f976a2e347a258ede7b40379adc933fae73 100644 (file)
@@ -14,6 +14,7 @@
 #include <asm/arch/iomux.h>
 #include <asm/arch/sys_proto.h>
 #include <env.h>
+#include <fdt_support.h>
 #include <linux/errno.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index 13429072c79b0ff53148c41e3028cd9296bcc2be..a42910f60001281dcea0ac371a067097054dc89e 100644 (file)
@@ -7,6 +7,7 @@
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
+#include <image.h>
 #include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 9705a1d8e392c97bc48c75ce144670e527d8da12..5e993d02581ed293d3a7b996759fca54ffe352cc 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
index 670bcb3aaa8ccddf2f07bbfaca0f17a41750e5fd..15e727f4a2d69682ed4102cc0eec11fe426fcdc2 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <android_image.h>
 #include <common.h>
+#include <image.h>
 #include <mapmem.h>
 
 #define abootimg_addr() \
index 9849eb4f9950da0d0c008d3ec1b14760cfcc71bf..b84373453da4d7c7c29ddbf90ca6d3bf319e2d40 100644 (file)
@@ -13,6 +13,7 @@
 #include <efi_selftest.h>
 #include <env.h>
 #include <errno.h>
+#include <image.h>
 #include <malloc.h>
 #include <linux/libfdt.h>
 #include <linux/libfdt_env.h>
index 36cc7265406425d7317aff40d8c944aff735fd23..f66ceca2c71276c5c199bb1ea04129cfdfd4f795 100644 (file)
--- a/cmd/fdt.c
+++ b/cmd/fdt.c
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <image.h>
 #include <linux/ctype.h>
 #include <linux/types.h>
 #include <asm/global_data.h>
index b1c7b5453b3b12b5fb339f819f6244bd190e9a51..563528ca5e6362c5b2b78dcaa197712e69370a52 100644 (file)
@@ -13,6 +13,7 @@
 #include <fpga.h>
 #include <fs.h>
 #include <gzip.h>
+#include <image.h>
 #include <malloc.h>
 
 static long do_fpga_get_device(char *arg)
index 63cbae0364c1fe2437ea8d6c069aea327b647c6f..4e30334951a009f8fda6fab498c20839ceb098a1 100644 (file)
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <image.h>
 #include <mapmem.h>
 #include <u-boot/md5.h>
 #include <asm/io.h>
index 56051b8a4be926c8882b7a7e4909816375bf84b0..61256f4830f7ddd7e07297e0cb503eee2575f681 100644 (file)
--- a/cmd/spl.c
+++ b/cmd/spl.c
@@ -8,6 +8,7 @@
 #include <command.h>
 #include <cmd_spl.h>
 #include <env.h>
+#include <image.h>
 #include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 44023532e134ab3811ea74804bde5459dafd5ad1..8599bc8ca377e19754cee42f2746704ef95a4b2d 100644 (file)
@@ -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>
index bf0a9be730fee60f499fcd51319b9856317c5282..667659054a7e6c9cd86aeb57028e38a9149e3e58 100644 (file)
@@ -5,6 +5,7 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
+#include <fdt_support.h>
 #include <linux/libfdt_env.h>
 #include <fdt_region.h>
 
index 2cf763575f9d5fa94e0d4a0a057cb5029afd3819..810854ce0f5af382e9cdce6268920daacac296a3 100644 (file)
 #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>
index 3002948b6b0e219f25a31ce40125ec92ce46e6df..270732278e6295876525d976db5941c44eb23e3b 100644 (file)
@@ -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>
index 368b73088a2af9d0683e050ec13a9e33513f1481..dc745fef7cac862966f45c3a9a5844e8de356c25 100644 (file)
@@ -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>
index 84b2c0439cf8965a6a7e55cd0a2ec316f4c475ed..5122dc948f0d61c5cf8a4536696de236edf3e268 100644 (file)
@@ -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>
index 20fa4bd4974f5fdf98778c17088ea008b43bb09f..6a24abf6ff3fece2ffbc3e9aeaeca93c2c9fa12c 100644 (file)
@@ -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>
index bc2921c552d132d6549fc2694fef4f8bafc645c2..b83e3bb54aeaaad332861c3c041b4e4ad0dbfefc 100644 (file)
@@ -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>
 
index 29d3ec70734dedefb2253ee39d1ef8732eed3d31..db5017a4b070899b12017840e7716c2569de0345 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <malloc.h>
 #include <spl.h>
 
index 5f8a111a2f064808dadead4d2e30e1ae0edd354a..e81279aa1b981bc5920cd46d4b8de90f4f8d3e22 100644 (file)
@@ -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>
index 30c050c0b3e6c0767bf1d607ab63037f919da7a7..a9b6b07ab300f60619ea2b1b65de0207df5b3a77 100644 (file)
@@ -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>
index 3f03ffe6a333f410fb7bd29dd50aa3a65ecad830..d4733ea90a6ac3b39645293b1766a34b9de114ae 100644 (file)
@@ -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,
index ee30f328e6027e92a22f0b387b7aa326c467dbae..8ba3d4027a04e5491ff425b6fc4b9d24d7351b24 100644 (file)
@@ -9,6 +9,7 @@
  */
 #include <common.h>
 #include <config.h>
+#include <image.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <onenand_uboot.h>
index 3519c34299d0199675506f08bd0a808230968498..e88136e6f39ed8528bb5a2460624f178f06092b9 100644 (file)
@@ -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;
 
index 954e91a0045cacf0d287acedb5add9549133ff87..80572ceec2d989f832f8b2115b428a13d7ad73ca 100644 (file)
@@ -11,6 +11,7 @@
  */
 #include <common.h>
 #include <binman_sym.h>
+#include <image.h>
 #include <mapmem.h>
 #include <spl.h>
 #include <linux/libfdt.h>
index 288dbb5fa9812773c17412a549382cd38e974cc3..7a374bbfcc32c4b60ff9e09515417bdb0c1cf80d 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <spi.h>
 #include <spi_flash.h>
 #include <errno.h>
index 0cb508088275ec0fb68dae25279822969a71217b..de6a63bd2d45113eb04b0dc8c8dfbc6fafc83174 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <config.h>
+#include <image.h>
 #include <nand.h>
 #include <onenand_uboot.h>
 #include <ubispl.h>
index 1af4da8725533d924bee4a3e9afd9509de3bfb20..f85727801841473cd34d5d0be593f838bedf8bc8 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <spl.h>
 
 static int spl_xip(struct spl_image_info *spl_image,
index 8500ee8ba5d917ee95e93bb6a08e0a47e7869bfe..414e62176bc9a674b374dc1447eb904606102465 100644 (file)
@@ -10,6 +10,7 @@
  */
 #include <common.h>
 #include <gzip.h>
+#include <image.h>
 #include <spl.h>
 #include <xyzModem.h>
 #include <asm/u-boot.h>
index c666eb0f29b032da78c7254516ea2c439d672bca..94fab4e5e0e89d5ee61c9c6e66153cb3434b1401 100644 (file)
@@ -12,6 +12,7 @@
 #include <fb_mmc.h>
 #include <flash.h>
 #include <image-sparse.h>
+#include <image.h>
 #include <part.h>
 #include <mmc.h>
 #include <div64.h>
index 2853581b9756a255d300dfc5ba7ed1549863ff1b..6a3ad6a96904098851bcbd3f52b3cf35755a088c 100644 (file)
@@ -2,6 +2,7 @@
 /*
  * Copyright (C) 2017-2019 Intel Corporation <www.intel.com>
  */
+#include <image.h>
 #include <asm/io.h>
 #include <asm/arch/fpga_manager.h>
 #include <asm/arch/reset_manager.h>
index 0575bd8937f016e71bed4543ef44e74e34106f9c..83dcb40213320a9acce9296a5e5c31ce2a7c8cfd 100644 (file)
@@ -17,6 +17,7 @@
 #include <fdtdec.h>
 #include <i2c.h>
 #include <linux/errno.h>
+#include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index a6b0d87415f1664184a10be3ac9c2953fe4d79ac..242d27a34eab986404a0a2383a98ffb71ab1d15e 100644 (file)
@@ -4,6 +4,7 @@
  */
 #include <asm/io.h>
 #include <env.h>
+#include <fdt_support.h>
 #include <fsl_qe.h>    /* For struct qe_firmware */
 #include <u-boot/crc.h>
 
index f654562f6457e2fa70e52059ada8e01c80dc697d..2cc8bbfb104f80010dd671b08a416b08f7fc862c 100644 (file)
@@ -10,6 +10,7 @@
 #include <fsl_mdio.h>
 #ifdef CONFIG_FSL_LAYERSCAPE
 #include <asm/arch/fsl_serdes.h>
+#include <linux/libfdt.h>
 #else
 #include <asm/fsl_serdes.h>
 #endif
index fee372968a38e65f7ea2d5d01e1670b45767f53c..da0815a46f7318647993fe0d2ecd8a773f1ea43c 100644 (file)
@@ -8,6 +8,7 @@
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
+#include <image.h>
 #include <malloc.h>
 #include <linux/bug.h>
 #include <asm/io.h>
index 2fa27c7b6ec09b3b8ce18506e39a07671306bdd3..2a66c2e5f9b37889b96fd62a95334163eb0a4a90 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <errno.h>
+#include <fdt_support.h>
 #include <malloc.h>
 #include <memalign.h>
 #include <net.h>
index 29067194cb139148f4ee8f63d7a996a93acdd113..1e0db6c8c7a85d71af1d026d48fb063867142068 100644 (file)
@@ -34,6 +34,7 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <linux/compat.h>
+#include <linux/libfdt.h>
 #include <linux/mbus.h>
 #include <asm-generic/gpio.h>
 #include <fdt_support.h>
index 13112d9c1a35bb69f51df53f94d4fb9d10d91a7c..dbb69a0c595ca382d7458eb32ea912905cb66d34 100644 (file)
@@ -10,6 +10,7 @@
  * files.
  */
 
+#include <image.h>
 #include <malloc.h>
 #include <net/pfe_eth/pfe_eth.h>
 #include <net/pfe_eth/pfe_firmware.h>
index 4baeeb83f109cb551cc748c520b2f05e6264010c..ecd6df9e451ff4f80dddf6166001644bf4fcd01f 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/ti-common/keystone_net.h>
 #include <asm/ti-common/keystone_serdes.h>
 #include <asm/arch/psc_defs.h>
+#include <linux/libfdt.h>
 
 #include "cpsw_mdio.h"
 
index 244beef18ddaaa252c5b9dc98d0a6bfb91620b7a..27bff27ff7ecde49bd9b973cb51855064b03bb2e 100644 (file)
@@ -8,10 +8,11 @@
 #include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
+#include <asm/io.h>
 #include <dm/device_compat.h>
 #include <linux/err.h>
 #include <linux/errno.h>
-#include <asm/io.h>
+#include <linux/libfdt.h>
 
 #include "comphy_core.h"
 
index 7fbe2810a2923784faf275652571220c7b413a8e..535f491d4956a28434687da4090d97341a430b75 100644 (file)
@@ -13,6 +13,7 @@
 #include <fdt_support.h>
 #include <linux/err.h>
 #include <linux/io.h>
+#include <linux/libfdt.h>
 #include <linux/sizes.h>
 #include <asm/gpio.h>
 
index 6e0bcae991282f683e740b45ac67bd1fea0e02d7..b9fb46815b952d0462d7c377562d814aab0e8a18 100644 (file)
@@ -32,6 +32,7 @@
 #include <asm/gpio.h>
 #include <asm/system.h>
 #include <asm/io.h>
+#include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index f0cd845fea5468f0d04abc20b2ae09532070075c..14fcad5aadb643a04209214f578f8838ac38cc8d 100644 (file)
@@ -14,6 +14,7 @@
 #include <syscon.h>
 #include <asm/io.h>
 #include <dm/pinctrl.h>
+#include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 9926235b52e0067626e332cc3f2c0d272bfd698e..32038cea8fa82d6bdce306fd422cd3c01e3f8e1e 100644 (file)
@@ -9,6 +9,7 @@
 #include <dm/lists.h>
 #include <dm/pinctrl.h>
 #include <linux/err.h>
+#include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 0fd0416b18049047ec0a7ec47125e5b73f19cf0f..386a13ed8761501d4ee7d5b3e861f87bc21782f7 100644 (file)
@@ -9,6 +9,7 @@
 #include <regmap.h>
 #include <syscon.h>
 #include <fdtdec.h>
+#include <linux/libfdt.h>
 
 #include "pinctrl-rockchip.h"
 
index ee2c8b67dc91f6bf5bb46f7c02d33166324aa41e..caf31ef98c41dd625827b8991201c48fae67e640 100644 (file)
@@ -25,6 +25,9 @@
 
 #include <common.h>
 #include <asm/io.h>
+#include <linux/libfdt.h>
+#include <linux/sizes.h>
+#include <linux/iopoll.h>
 #include <dm.h>
 #include <linux/iopoll.h>
 #include <linux/sizes.h>
index da13121a0900603193f7a0f415c26dfd757aa2c2..ecf25a7c99301cefb7d741e9e5d1956fc70205b8 100644 (file)
@@ -11,6 +11,7 @@
 #include <dm/device-internal.h>
 #include <dm/device.h>
 #include <asm/arch/sci/sci.h>
+#include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index cc94d39069e11b4f9d3fe06eed68457191256335..6f749736f1819dc1c2788b2aae6877ffe2feadd9 100644 (file)
@@ -23,6 +23,7 @@
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 #include <linux/types.h>
 
 typedef struct bd_info {
index fd3e2de4cce9d83084d896639283cd7a9b11c5f1..a87c0628806eb81ef02f826d52634738e263295c 100644 (file)
@@ -28,7 +28,6 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <linux/kernel.h>
-#include <image.h>
 #include <log.h>
 #include <asm/u-boot.h> /* boot information for Linux kernel */
 #include <asm/global_data.h>   /* global data used for startup functions */
index 121b30a3030e89750c410b3780a04040aebb565f..affa937da08c14f777ea395623f1c6cb28480769 100644 (file)
@@ -10,6 +10,7 @@
 #define _OPTEE_H
 
 #include <linux/errno.h>
+#include <image.h>
 
 #define OPTEE_MAGIC             0x4554504f
 #define OPTEE_VERSION           1
@@ -28,14 +29,16 @@ struct optee_header {
        uint32_t paged_size;
 };
 
-static inline uint32_t optee_image_get_entry_point(const image_header_t *hdr)
+static inline uint32_t
+optee_image_get_entry_point(const struct image_header *hdr)
 {
        struct optee_header *optee_hdr = (struct optee_header *)(hdr + 1);
 
        return optee_hdr->init_load_addr_lo;
 }
 
-static inline uint32_t optee_image_get_load_addr(const image_header_t *hdr)
+static inline uint32_t
+optee_image_get_load_addr(const struct image_header *hdr)
 {
        return optee_image_get_entry_point(hdr) - sizeof(struct optee_header);
 }
index d90d862fb765c9bf48519c40d1b5de6753a84d98..10c5e116d506703e3d8948cc0efa1071fefe7671 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <efi_api.h>
 
+struct bootm_headers;
+
 /* Use Linux compatible standard DTB */
 #define VXWORKS_SYSFLG_STD_DTB 0x1
 
@@ -84,7 +86,7 @@ struct efi_gop_info {
 };
 
 int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
-void boot_prep_vxworks(bootm_headers_t *images);
-void boot_jump_vxworks(bootm_headers_t *images);
+void boot_prep_vxworks(struct bootm_headers *images);
+void boot_jump_vxworks(struct bootm_headers *images);
 
 #endif
index 07b9308adf29ff4d5773b8a663ec6e0bdaedd6a9..2f0e495edf280bf1cde57ded13cc0e373d3102c8 100644 (file)
--- a/lib/lmb.c
+++ b/lib/lmb.c
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <image.h>
 #include <lmb.h>
 #include <malloc.h>
 
index be24e630754c2546ee6e77492a7e4cfa848c0dd5..3348521c904266198b025ada4023301ed7ce03ba 100644 (file)
@@ -11,6 +11,7 @@
 #include <efi_loader.h>
 #include <env.h>
 #include <image.h>
+#include <lmb.h>
 #include <mapmem.h>
 #include <net.h>
 #include <net/tftp.h>
index 63f929fa4bd44cb1a8089dc14457e8ded7f36e8d..bceb2c273c7643c6e9982a3b38be75ad0962faf4 100644 (file)
@@ -7,6 +7,7 @@
 #include <bootm.h>
 #include <command.h>
 #include <gzip.h>
+#include <image.h>
 #include <lz4.h>
 #include <malloc.h>
 #include <mapmem.h>
index d0083fd6bee32bdb83ac5c084889b8e15e63b5c2..c8d41a4dca2b0114647a02c225cc330f0fdbd726 100644 (file)
@@ -8,6 +8,7 @@
 #include <command.h>
 #include <errno.h>
 #include <fdt_support.h>
+#include <image.h>
 #include <malloc.h>
 
 #include <linux/sizes.h>
index 1b428c3b2fd4a803577c6429508c503d03b1b5c2..133780f5eaa51c7d75ce9b75b74178965f5eeb0d 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "imx8image.h"
+#include <image.h>
 
 static int p_idx;
 static int sector_size;