diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:05 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:18 -0400 |
commit | f7ae49fc4f363a803dab3be078e93ead8e75a8e9 (patch) | |
tree | a40dc0c2d47875a8b069c8704808e2dc8f9db5fa /drivers/i2c | |
parent | 3c7dded8e179ee213c8267c892720b84a7a59fd5 (diff) |
common: Drop log.h from common header
Move this header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c')
32 files changed, 32 insertions, 0 deletions
diff --git a/drivers/i2c/ast_i2c.c b/drivers/i2c/ast_i2c.c index c84d75ac92..9e6dc02b61 100644 --- a/drivers/i2c/ast_i2c.c +++ b/drivers/i2c/ast_i2c.c @@ -11,6 +11,7 @@ #include <errno.h> #include <fdtdec.h> #include <i2c.h> +#include <log.h> #include <asm/io.h> #include <asm/arch/scu_ast2500.h> #include <linux/err.h> diff --git a/drivers/i2c/cros_ec_ldo.c b/drivers/i2c/cros_ec_ldo.c index 501e602b27..c593540ac1 100644 --- a/drivers/i2c/cros_ec_ldo.c +++ b/drivers/i2c/cros_ec_ldo.c @@ -9,6 +9,7 @@ #include <cros_ec.h> #include <errno.h> #include <i2c.h> +#include <log.h> #include <power/tps65090.h> static int cros_ec_ldo_set_bus_speed(struct udevice *dev, unsigned int speed) diff --git a/drivers/i2c/davinci_i2c.c b/drivers/i2c/davinci_i2c.c index edc40f706c..f41ea01b10 100644 --- a/drivers/i2c/davinci_i2c.c +++ b/drivers/i2c/davinci_i2c.c @@ -14,6 +14,7 @@ #include <common.h> #include <i2c.h> #include <dm.h> +#include <log.h> #include <asm/arch/hardware.h> #include <asm/arch/i2c_defs.h> #include <asm/io.h> diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 088a6f3efb..4c4b5e17ca 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -8,6 +8,7 @@ #include <clk.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <malloc.h> #include <pci.h> #include <reset.h> diff --git a/drivers/i2c/designware_i2c_pci.c b/drivers/i2c/designware_i2c_pci.c index 50f03e3d90..bd34ec0b47 100644 --- a/drivers/i2c/designware_i2c_pci.c +++ b/drivers/i2c/designware_i2c_pci.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <spl.h> #include <asm/lpss.h> #include "designware_i2c.h" diff --git a/drivers/i2c/exynos_hs_i2c.c b/drivers/i2c/exynos_hs_i2c.c index 9f201c66d0..59fc9a3c09 100644 --- a/drivers/i2c/exynos_hs_i2c.c +++ b/drivers/i2c/exynos_hs_i2c.c @@ -9,6 +9,7 @@ #include <common.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <asm/arch/clk.h> #include <asm/arch/cpu.h> #include <asm/arch/pinmux.h> diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index 097c54388f..7e3c75b610 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c @@ -9,6 +9,7 @@ #include <common.h> #include <command.h> #include <i2c.h> /* Functional interface */ +#include <log.h> #include <time.h> #include <asm/io.h> #include <asm/fsl_i2c.h> /* HW definitions */ diff --git a/drivers/i2c/i2c-cdns.c b/drivers/i2c/i2c-cdns.c index ac15da2c67..642df972e5 100644 --- a/drivers/i2c/i2c-cdns.c +++ b/drivers/i2c/i2c-cdns.c @@ -9,6 +9,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <linux/types.h> #include <linux/io.h> #include <linux/errno.h> diff --git a/drivers/i2c/i2c-emul-uclass.c b/drivers/i2c/i2c-emul-uclass.c index ae5aae03e7..1b70e14054 100644 --- a/drivers/i2c/i2c-emul-uclass.c +++ b/drivers/i2c/i2c-emul-uclass.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <dm/device-internal.h> #include <dm/uclass-internal.h> diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c index 07fdd343f2..900017ad04 100644 --- a/drivers/i2c/i2c-gpio.c +++ b/drivers/i2c/i2c-gpio.c @@ -9,6 +9,7 @@ #include <errno.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <asm/gpio.h> #define DEFAULT_UDELAY 5 diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index e9ec388576..32aed921b7 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c @@ -7,6 +7,7 @@ #include <dm.h> #include <errno.h> #include <i2c.h> +#include <log.h> #include <malloc.h> #include <dm/device-internal.h> #include <dm/lists.h> diff --git a/drivers/i2c/i2c_core.c b/drivers/i2c/i2c_core.c index 234277a299..da50d86cc8 100644 --- a/drivers/i2c/i2c_core.c +++ b/drivers/i2c/i2c_core.c @@ -9,6 +9,7 @@ */ #include <common.h> #include <i2c.h> +#include <linker_lists.h> struct i2c_adapter *i2c_get_adapter(int index) { diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c index f7b59d36f9..674561b4ad 100644 --- a/drivers/i2c/ihs_i2c.c +++ b/drivers/i2c/ihs_i2c.c @@ -12,6 +12,7 @@ #else #include <gdsys_fpga.h> #endif +#include <log.h> #include <asm/unaligned.h> #ifdef CONFIG_DM_I2C diff --git a/drivers/i2c/imx_lpi2c.c b/drivers/i2c/imx_lpi2c.c index 62e68046d6..c8e42e05f5 100644 --- a/drivers/i2c/imx_lpi2c.c +++ b/drivers/i2c/imx_lpi2c.c @@ -5,6 +5,7 @@ #include <common.h> #include <errno.h> +#include <log.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/i2c/intel_i2c.c b/drivers/i2c/intel_i2c.c index f5509fef16..3b79cb40cd 100644 --- a/drivers/i2c/intel_i2c.c +++ b/drivers/i2c/intel_i2c.c @@ -10,6 +10,7 @@ #include <common.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <pci.h> #include <asm/io.h> diff --git a/drivers/i2c/kona_i2c.c b/drivers/i2c/kona_i2c.c index 8e31481c0f..61c4045959 100644 --- a/drivers/i2c/kona_i2c.c +++ b/drivers/i2c/kona_i2c.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <log.h> #include <asm/io.h> #include <linux/errno.h> #include <asm/arch/sysmap.h> diff --git a/drivers/i2c/lpc32xx_i2c.c b/drivers/i2c/lpc32xx_i2c.c index a95b5cc902..6af2e975cf 100644 --- a/drivers/i2c/lpc32xx_i2c.c +++ b/drivers/i2c/lpc32xx_i2c.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <log.h> #include <asm/io.h> #include <i2c.h> #include <linux/errno.h> diff --git a/drivers/i2c/meson_i2c.c b/drivers/i2c/meson_i2c.c index bcf45160d8..2eb1eba642 100644 --- a/drivers/i2c/meson_i2c.c +++ b/drivers/i2c/meson_i2c.c @@ -3,6 +3,7 @@ * (C) Copyright 2017 - Beniamino Galvani <b.galvani@gmail.com> */ #include <common.h> +#include <log.h> #include <asm/io.h> #include <clk.h> #include <dm.h> diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c index 5029c71adc..07600c5022 100644 --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c @@ -8,6 +8,7 @@ #include <dm.h> #include <errno.h> #include <i2c.h> +#include <log.h> #include <malloc.h> #include <asm/gpio.h> diff --git a/drivers/i2c/muxes/i2c-mux-uclass.c b/drivers/i2c/muxes/i2c-mux-uclass.c index 9a3dd7ec4a..26897554b0 100644 --- a/drivers/i2c/muxes/i2c-mux-uclass.c +++ b/drivers/i2c/muxes/i2c-mux-uclass.c @@ -8,6 +8,7 @@ #include <dm.h> #include <errno.h> #include <i2c.h> +#include <log.h> #include <malloc.h> #include <dm/lists.h> #include <dm/root.h> diff --git a/drivers/i2c/muxes/pca954x.c b/drivers/i2c/muxes/pca954x.c index cc8afc93b5..7360e162ee 100644 --- a/drivers/i2c/muxes/pca954x.c +++ b/drivers/i2c/muxes/pca954x.c @@ -9,6 +9,7 @@ #include <dm.h> #include <errno.h> #include <i2c.h> +#include <log.h> #include <malloc.h> #include <asm-generic/gpio.h> diff --git a/drivers/i2c/mv_i2c.c b/drivers/i2c/mv_i2c.c index 63665f0952..88b62959d3 100644 --- a/drivers/i2c/mv_i2c.c +++ b/drivers/i2c/mv_i2c.c @@ -19,6 +19,7 @@ #include <common.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <asm/io.h> #include "mv_i2c.h" diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c index d4b2031249..bd94ad256c 100644 --- a/drivers/i2c/mvtwsi.c +++ b/drivers/i2c/mvtwsi.c @@ -9,6 +9,7 @@ #include <common.h> #include <i2c.h> +#include <log.h> #include <linux/errno.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 4d6e0e3e75..66a90e4258 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -14,6 +14,7 @@ */ #include <common.h> +#include <log.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <dm/device_compat.h> diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index 6e7d24d727..d5be824de8 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -41,6 +41,7 @@ #include <common.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <asm/io.h> #include <asm/omap_i2c.h> diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c index 32b2ee8578..703d9a1c7a 100644 --- a/drivers/i2c/rk_i2c.c +++ b/drivers/i2c/rk_i2c.c @@ -11,6 +11,7 @@ #include <dm.h> #include <errno.h> #include <i2c.h> +#include <log.h> #include <asm/io.h> #include <asm/arch-rockchip/clock.h> #include <asm/arch-rockchip/i2c.h> diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c index 68bf93b324..5907217981 100644 --- a/drivers/i2c/s3c24x0_i2c.c +++ b/drivers/i2c/s3c24x0_i2c.c @@ -9,6 +9,7 @@ #include <dm.h> #include <fdtdec.h> #if (defined CONFIG_EXYNOS4 || defined CONFIG_EXYNOS5) +#include <log.h> #include <asm/arch/clk.h> #include <asm/arch/cpu.h> #include <asm/arch/pinmux.h> diff --git a/drivers/i2c/sandbox_i2c.c b/drivers/i2c/sandbox_i2c.c index 1a4521d5b8..f4ae2397a0 100644 --- a/drivers/i2c/sandbox_i2c.c +++ b/drivers/i2c/sandbox_i2c.c @@ -9,6 +9,7 @@ #include <dm.h> #include <errno.h> #include <i2c.h> +#include <log.h> #include <asm/test.h> #include <dm/lists.h> #include <dm/device-internal.h> diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index 834f1f2179..5cc5095666 100644 --- a/drivers/i2c/sh_i2c.c +++ b/drivers/i2c/sh_i2c.c @@ -9,6 +9,7 @@ #include <common.h> #include <i2c.h> +#include <log.h> #include <asm/io.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index fc5c1221e1..4adac498d0 100644 --- a/drivers/i2c/stm32f7_i2c.c +++ b/drivers/i2c/stm32f7_i2c.c @@ -7,6 +7,7 @@ #include <clk.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <reset.h> #include <dm/device.h> diff --git a/drivers/i2c/tegra186_bpmp_i2c.c b/drivers/i2c/tegra186_bpmp_i2c.c index 793f3f59b5..ac41a7f0f8 100644 --- a/drivers/i2c/tegra186_bpmp_i2c.c +++ b/drivers/i2c/tegra186_bpmp_i2c.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <i2c.h> +#include <log.h> #include <misc.h> #include <asm/arch-tegra/bpmp_abi.h> diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c index 66a0148254..09c0be9dcd 100644 --- a/drivers/i2c/tegra_i2c.c +++ b/drivers/i2c/tegra_i2c.c @@ -9,6 +9,7 @@ #include <dm.h> #include <errno.h> #include <i2c.h> +#include <log.h> #include <asm/io.h> #include <clk.h> #include <reset.h> |