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 /drivers | |
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 'drivers')
-rw-r--r-- | drivers/fastboot/fb_mmc.c | 1 | ||||
-rw-r--r-- | drivers/fpga/socfpga_arria10.c | 1 | ||||
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-gpio.c | 1 | ||||
-rw-r--r-- | drivers/net/fm/fdt.c | 1 | ||||
-rw-r--r-- | drivers/net/fm/init.c | 1 | ||||
-rw-r--r-- | drivers/net/fsl-mc/mc.c | 1 | ||||
-rw-r--r-- | drivers/net/fsl_enetc.c | 1 | ||||
-rw-r--r-- | drivers/net/mvpp2.c | 1 | ||||
-rw-r--r-- | drivers/net/pfe_eth/pfe_firmware.c | 1 | ||||
-rw-r--r-- | drivers/net/ti/keystone_net.c | 1 | ||||
-rw-r--r-- | drivers/phy/marvell/comphy_core.c | 3 | ||||
-rw-r--r-- | drivers/pinctrl/meson/pinctrl-meson.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/pinctrl-sti.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/pinctrl_stm32.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/rockchip/pinctrl-rockchip-core.c | 1 | ||||
-rw-r--r-- | drivers/spi/fsl_qspi.c | 3 | ||||
-rw-r--r-- | drivers/thermal/imx_scu_thermal.c | 1 |
18 files changed, 21 insertions, 1 deletions
diff --git a/drivers/fastboot/fb_mmc.c b/drivers/fastboot/fb_mmc.c index c666eb0f29..94fab4e5e0 100644 --- a/drivers/fastboot/fb_mmc.c +++ b/drivers/fastboot/fb_mmc.c @@ -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> diff --git a/drivers/fpga/socfpga_arria10.c b/drivers/fpga/socfpga_arria10.c index 2853581b97..6a3ad6a969 100644 --- a/drivers/fpga/socfpga_arria10.c +++ b/drivers/fpga/socfpga_arria10.c @@ -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> diff --git a/drivers/i2c/muxes/i2c-mux-gpio.c b/drivers/i2c/muxes/i2c-mux-gpio.c index 0575bd8937..83dcb40213 100644 --- a/drivers/i2c/muxes/i2c-mux-gpio.c +++ b/drivers/i2c/muxes/i2c-mux-gpio.c @@ -17,6 +17,7 @@ #include <fdtdec.h> #include <i2c.h> #include <linux/errno.h> +#include <linux/libfdt.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/net/fm/fdt.c b/drivers/net/fm/fdt.c index a6b0d87415..242d27a34e 100644 --- a/drivers/net/fm/fdt.c +++ b/drivers/net/fm/fdt.c @@ -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> diff --git a/drivers/net/fm/init.c b/drivers/net/fm/init.c index f654562f64..2cc8bbfb10 100644 --- a/drivers/net/fm/init.c +++ b/drivers/net/fm/init.c @@ -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 diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c index fee372968a..da0815a46f 100644 --- a/drivers/net/fsl-mc/mc.c +++ b/drivers/net/fsl-mc/mc.c @@ -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> diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index 2fa27c7b6e..2a66c2e5f9 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -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> diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index 29067194cb..1e0db6c8c7 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -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> diff --git a/drivers/net/pfe_eth/pfe_firmware.c b/drivers/net/pfe_eth/pfe_firmware.c index 13112d9c1a..dbb69a0c59 100644 --- a/drivers/net/pfe_eth/pfe_firmware.c +++ b/drivers/net/pfe_eth/pfe_firmware.c @@ -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> diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c index 4baeeb83f1..ecd6df9e45 100644 --- a/drivers/net/ti/keystone_net.c +++ b/drivers/net/ti/keystone_net.c @@ -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" diff --git a/drivers/phy/marvell/comphy_core.c b/drivers/phy/marvell/comphy_core.c index 244beef18d..27bff27ff7 100644 --- a/drivers/phy/marvell/comphy_core.c +++ b/drivers/phy/marvell/comphy_core.c @@ -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" diff --git a/drivers/pinctrl/meson/pinctrl-meson.c b/drivers/pinctrl/meson/pinctrl-meson.c index 7fbe2810a2..535f491d49 100644 --- a/drivers/pinctrl/meson/pinctrl-meson.c +++ b/drivers/pinctrl/meson/pinctrl-meson.c @@ -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> diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index 6e0bcae991..b9fb46815b 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c @@ -32,6 +32,7 @@ #include <asm/gpio.h> #include <asm/system.h> #include <asm/io.h> +#include <linux/libfdt.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pinctrl/pinctrl-sti.c b/drivers/pinctrl/pinctrl-sti.c index f0cd845fea..14fcad5aad 100644 --- a/drivers/pinctrl/pinctrl-sti.c +++ b/drivers/pinctrl/pinctrl-sti.c @@ -14,6 +14,7 @@ #include <syscon.h> #include <asm/io.h> #include <dm/pinctrl.h> +#include <linux/libfdt.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pinctrl/pinctrl_stm32.c b/drivers/pinctrl/pinctrl_stm32.c index 9926235b52..32038cea8f 100644 --- a/drivers/pinctrl/pinctrl_stm32.c +++ b/drivers/pinctrl/pinctrl_stm32.c @@ -9,6 +9,7 @@ #include <dm/lists.h> #include <dm/pinctrl.h> #include <linux/err.h> +#include <linux/libfdt.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pinctrl/rockchip/pinctrl-rockchip-core.c b/drivers/pinctrl/rockchip/pinctrl-rockchip-core.c index 0fd0416b18..386a13ed87 100644 --- a/drivers/pinctrl/rockchip/pinctrl-rockchip-core.c +++ b/drivers/pinctrl/rockchip/pinctrl-rockchip-core.c @@ -9,6 +9,7 @@ #include <regmap.h> #include <syscon.h> #include <fdtdec.h> +#include <linux/libfdt.h> #include "pinctrl-rockchip.h" diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index ee2c8b67dc..caf31ef98c 100644 --- a/drivers/spi/fsl_qspi.c +++ b/drivers/spi/fsl_qspi.c @@ -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> diff --git a/drivers/thermal/imx_scu_thermal.c b/drivers/thermal/imx_scu_thermal.c index da13121a09..ecf25a7c99 100644 --- a/drivers/thermal/imx_scu_thermal.c +++ b/drivers/thermal/imx_scu_thermal.c @@ -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; |