Skip to content

Commit

Permalink
common: Drop image.h from common header
Browse files Browse the repository at this point in the history
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 authored and trini committed May 18, 2020
1 parent 52f2423 commit 4d72caa
Show file tree
Hide file tree
Showing 173 changed files with 195 additions and 7 deletions.
2 changes: 2 additions & 0 deletions arch/arc/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv8/fsl-layerscape/mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv8/fsl-layerscape/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/cpu/armv8/sec_firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/lib/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <image.h>
#include <mapmem.h>
#include <linux/sizes.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/lib/zimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Copyright (C) 2012 Marek Vasut <[email protected]>
*/
#include <common.h>
#include <image.h>

#define LINUX_ARM_ZIMAGE_MAGIC 0x016f2818
#define BAREBOX_IMAGE_MAGIC 0x00786f62
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-imx/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <lmb.h>
#include <asm/arch/sys_proto.h>
#include <linux/errno.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-k3/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <cpu_func.h>
#include <image.h>
#include <spl.h>
#include "common.h"
#include <dm.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-k3/security.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-k3/sysfw-loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <common.h>
#include <image.h>
#include <spl.h>
#include <malloc.h>
#include <remoteproc.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-keystone/mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <hang.h>
#include <image.h>
#include <asm/unaligned.h>
#include <common.h>
#include <command.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-rockchip/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-rockchip/rk3399/rk3399.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <fdt_support.h>
#include <spl.h>
#include <spl_gpio.h>
#include <syscon.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-rockchip/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-stm32mp/dram_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

#include <common.h>
#include <dm.h>
#include <image.h>
#include <init.h>
#include <lmb.h>
#include <ram.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-sunxi/spl_spi_sunxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <image.h>
#include <spl.h>
#include <asm/gpio.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-zynq/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <common.h>
#include <debug_uart.h>
#include <hang.h>
#include <image.h>
#include <spl.h>
#include <generated/dt.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-zynqmp/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <common.h>
#include <image.h>
#include <init.h>
#include <spl.h>

Expand Down
1 change: 1 addition & 0 deletions arch/m68k/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/mips/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 1 addition & 0 deletions arch/mips/mach-jz47xx/jz4780/jz4780.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions arch/nds32/include/asm/u-boot-nds32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions arch/nios2/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/include/asm/fsl_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#define _ASM_FSL_I2C_H_

#include <asm/types.h>
#include <linux/compiler.h>

typedef struct fsl_i2c_base {

Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/riscv/lib/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <common.h>
#include <image.h>
#include <mapmem.h>
#include <errno.h>
#include <linux/sizes.h>
Expand Down
1 change: 1 addition & 0 deletions arch/sandbox/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <common.h>
#include <bootstage.h>
#include <image.h>
#include <asm/io.h>

#define LINUX_ARM_ZIMAGE_MAGIC 0x016f2818
Expand Down
1 change: 1 addition & 0 deletions arch/sh/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <common.h>
#include <command.h>
#include <image.h>
#include <asm/byteorder.h>
#include <asm/zimage.h>

Expand Down
1 change: 1 addition & 0 deletions arch/x86/cpu/apollolake/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/lib/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/lib/tpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/AndesTech/ax25-ae350/ax25-ae350.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions board/Arcturus/ucp1020/ucp1020.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/advantech/imx8qm_rom7720_a1/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
#include <common.h>
#include <dm.h>
#include <image.h>
#include <spl.h>
#include <fsl_esdhc.h>

Expand Down
1 change: 1 addition & 0 deletions board/aristainetos/aristainetos.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Author: Fabio Estevam <[email protected]>
*/

#include <image.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/iomux.h>
Expand Down
1 change: 1 addition & 0 deletions board/dhelectronics/dh_imx6/dh_imx6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/emulation/qemu-riscv/qemu-riscv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/engicam/common/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <common.h>
#include <image.h>
#include <serial.h>
#include <spl.h>

Expand Down
1 change: 1 addition & 0 deletions board/freescale/b4860qds/b4860qds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/bsc9131rdb/bsc9131rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <image.h>
#include <asm/processor.h>
#include <asm/mmu.h>
#include <asm/cache.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/bsc9132qds/bsc9132qds.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <image.h>
#include <init.h>
#include <net.h>
#include <asm/processor.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/c29xpcie/c29xpcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <image.h>
#include <init.h>
#include <net.h>
#include <asm/processor.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/corenet_ds/corenet_ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/corenet_ds/eth_p4080.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <fdt_support.h>
#include <net.h>
#include <netdev.h>
#include <asm/mmu.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/imx8mm_evk/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/imx8mn_evk/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Loading

0 comments on commit 4d72caa

Please sign in to comment.