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/spi | |
parent | 3c7dded8e179ee213c8267c892720b84a7a59fd5 (diff) | |
download | u-boot-f7ae49fc4f363a803dab3be078e93ead8e75a8e9.zip u-boot-f7ae49fc4f363a803dab3be078e93ead8e75a8e9.tar.gz u-boot-f7ae49fc4f363a803dab3be078e93ead8e75a8e9.tar.bz2 |
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/spi')
42 files changed, 42 insertions, 0 deletions
diff --git a/drivers/spi/altera_spi.c b/drivers/spi/altera_spi.c index e24deb4..11d745f 100644 --- a/drivers/spi/altera_spi.c +++ b/drivers/spi/altera_spi.c @@ -9,6 +9,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <fdtdec.h> #include <spi.h> diff --git a/drivers/spi/atcspi200_spi.c b/drivers/spi/atcspi200_spi.c index e0cc323..328b16c 100644 --- a/drivers/spi/atcspi200_spi.c +++ b/drivers/spi/atcspi200_spi.c @@ -8,6 +8,7 @@ #include <common.h> #include <clk.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <asm/io.h> diff --git a/drivers/spi/bcm63xx_hsspi.c b/drivers/spi/bcm63xx_hsspi.c index f88702d..afc7be0 100644 --- a/drivers/spi/bcm63xx_hsspi.c +++ b/drivers/spi/bcm63xx_hsspi.c @@ -10,6 +10,7 @@ #include <common.h> #include <clk.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <reset.h> diff --git a/drivers/spi/bcm63xx_spi.c b/drivers/spi/bcm63xx_spi.c index 719f53d..acc1a49 100644 --- a/drivers/spi/bcm63xx_spi.c +++ b/drivers/spi/bcm63xx_spi.c @@ -10,6 +10,7 @@ #include <common.h> #include <clk.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <reset.h> diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c index 994a594..1e85749 100644 --- a/drivers/spi/cadence_qspi.c +++ b/drivers/spi/cadence_qspi.c @@ -6,6 +6,7 @@ #include <common.h> #include <clk.h> +#include <log.h> #include <asm-generic/io.h> #include <dm.h> #include <fdtdec.h> diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index 0a5af05..e0a2003 100644 --- a/drivers/spi/cadence_qspi_apb.c +++ b/drivers/spi/cadence_qspi_apb.c @@ -26,6 +26,7 @@ */ #include <common.h> +#include <log.h> #include <asm/io.h> #include <dma.h> #include <linux/errno.h> diff --git a/drivers/spi/cf_spi.c b/drivers/spi/cf_spi.c index 923ff6f..dd9c772 100644 --- a/drivers/spi/cf_spi.c +++ b/drivers/spi/cf_spi.c @@ -15,6 +15,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <dm/platform_data/spi_coldfire.h> #include <spi.h> #include <malloc.h> diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 4d2c106..3efa8db 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <log.h> #include <spi.h> #include <malloc.h> #include <asm/io.h> diff --git a/drivers/spi/designware_spi.c b/drivers/spi/designware_spi.c index 2dc1673..09044bd 100644 --- a/drivers/spi/designware_spi.c +++ b/drivers/spi/designware_spi.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <log.h> #include <asm-generic/gpio.h> #include <clk.h> #include <dm.h> diff --git a/drivers/spi/exynos_spi.c b/drivers/spi/exynos_spi.c index d682a11..cded7a8 100644 --- a/drivers/spi/exynos_spi.c +++ b/drivers/spi/exynos_spi.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <fdtdec.h> diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index a68a519..c85253d 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -13,6 +13,7 @@ #include <dm.h> #include <errno.h> #include <common.h> +#include <log.h> #include <spi.h> #include <malloc.h> #include <asm/io.h> diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c index 7444ae1..67544ff 100644 --- a/drivers/spi/fsl_espi.c +++ b/drivers/spi/fsl_espi.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <log.h> #include <malloc.h> #include <spi.h> diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index caf31ef..0ee5074 100644 --- a/drivers/spi/fsl_qspi.c +++ b/drivers/spi/fsl_qspi.c @@ -24,6 +24,7 @@ */ #include <common.h> +#include <log.h> #include <asm/io.h> #include <linux/libfdt.h> #include <linux/sizes.h> diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index 990a5ff..537c756 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -13,6 +13,7 @@ #include <dm.h> #include <dt-structs.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <pch.h> #include <pci.h> diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 38fe414..01fcf6b 100644 --- a/drivers/spi/kirkwood_spi.c +++ b/drivers/spi/kirkwood_spi.c @@ -9,6 +9,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <asm/io.h> diff --git a/drivers/spi/meson_spifc.c b/drivers/spi/meson_spifc.c index 3d55169..ad15995 100644 --- a/drivers/spi/meson_spifc.c +++ b/drivers/spi/meson_spifc.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <log.h> #include <spi.h> #include <clk.h> #include <dm.h> diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c index e48debb..8aedd5e 100644 --- a/drivers/spi/mpc8xxx_spi.c +++ b/drivers/spi/mpc8xxx_spi.c @@ -8,6 +8,7 @@ #include <clk.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <asm/mpc8xxx_spi.h> diff --git a/drivers/spi/mscc_bb_spi.c b/drivers/spi/mscc_bb_spi.c index c3c7b80..37327ec 100644 --- a/drivers/spi/mscc_bb_spi.c +++ b/drivers/spi/mscc_bb_spi.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <dm.h> diff --git a/drivers/spi/mt7621_spi.c b/drivers/spi/mt7621_spi.c index 90e85c6..df9d9da 100644 --- a/drivers/spi/mt7621_spi.c +++ b/drivers/spi/mt7621_spi.c @@ -11,6 +11,7 @@ #include <common.h> #include <clk.h> #include <dm.h> +#include <log.h> #include <spi.h> #include <wait_bit.h> #include <linux/io.h> diff --git a/drivers/spi/mvebu_a3700_spi.c b/drivers/spi/mvebu_a3700_spi.c index 1469771..73a3f91 100644 --- a/drivers/spi/mvebu_a3700_spi.c +++ b/drivers/spi/mvebu_a3700_spi.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <clk.h> diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 4d1317c..4865fd9 100644 --- a/drivers/spi/mxc_spi.c +++ b/drivers/spi/mxc_spi.c @@ -5,6 +5,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <dm/device_compat.h> diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c index ee44973..635955e 100644 --- a/drivers/spi/mxs_spi.c +++ b/drivers/spi/mxs_spi.c @@ -14,6 +14,7 @@ #include <common.h> #include <cpu_func.h> +#include <log.h> #include <malloc.h> #include <memalign.h> #include <spi.h> diff --git a/drivers/spi/pic32_spi.c b/drivers/spi/pic32_spi.c index 4ec6683..88dc144 100644 --- a/drivers/spi/pic32_spi.c +++ b/drivers/spi/pic32_spi.c @@ -9,6 +9,7 @@ #include <common.h> #include <clk.h> #include <dm.h> +#include <log.h> #include <linux/compat.h> #include <malloc.h> #include <spi.h> diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index 95eeb83..c5842dc 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -15,6 +15,7 @@ #include <dm.h> #include <dt-structs.h> #include <errno.h> +#include <log.h> #include <spi.h> #include <time.h> #include <linux/errno.h> diff --git a/drivers/spi/sandbox_spi.c b/drivers/spi/sandbox_spi.c index 6b610ff..b0a46c8 100644 --- a/drivers/spi/sandbox_spi.c +++ b/drivers/spi/sandbox_spi.c @@ -12,6 +12,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <spi_flash.h> diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_spi.c index b80f810..af0dd71 100644 --- a/drivers/spi/soft_spi.c +++ b/drivers/spi/soft_spi.c @@ -13,6 +13,7 @@ #include <dm.h> #include <errno.h> #include <fdtdec.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <asm/gpio.h> diff --git a/drivers/spi/spi-mem-nodm.c b/drivers/spi/spi-mem-nodm.c index 83dde48..765f05f 100644 --- a/drivers/spi/spi-mem-nodm.c +++ b/drivers/spi/spi-mem-nodm.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ */ +#include <log.h> #include <malloc.h> #include <spi.h> #include <spi-mem.h> diff --git a/drivers/spi/spi-mem.c b/drivers/spi/spi-mem.c index ffbe20c..d344701 100644 --- a/drivers/spi/spi-mem.c +++ b/drivers/spi/spi-mem.c @@ -7,6 +7,7 @@ */ #ifndef __UBOOT__ +#include <log.h> #include <dm/devres.h> #include <linux/dmaengine.h> #include <linux/pm_runtime.h> diff --git a/drivers/spi/spi-sunxi.c b/drivers/spi/spi-sunxi.c index c59fee1..85b662b 100644 --- a/drivers/spi/spi-sunxi.c +++ b/drivers/spi/spi-sunxi.c @@ -21,6 +21,7 @@ #include <common.h> #include <clk.h> #include <dm.h> +#include <log.h> #include <spi.h> #include <errno.h> #include <fdt_support.h> diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c index 4a02d95..cffd9cf 100644 --- a/drivers/spi/spi-uclass.c +++ b/drivers/spi/spi-uclass.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <dm/device-internal.h> diff --git a/drivers/spi/stm32_qspi.c b/drivers/spi/stm32_qspi.c index 6857a87..ae62aeb 100644 --- a/drivers/spi/stm32_qspi.c +++ b/drivers/spi/stm32_qspi.c @@ -9,6 +9,7 @@ #include <common.h> #include <clk.h> +#include <log.h> #include <reset.h> #include <spi-mem.h> #include <dm/device_compat.h> diff --git a/drivers/spi/stm32_spi.c b/drivers/spi/stm32_spi.c index ebf2b98..fdc9f95 100644 --- a/drivers/spi/stm32_spi.c +++ b/drivers/spi/stm32_spi.c @@ -8,6 +8,7 @@ #include <clk.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <reset.h> #include <spi.h> diff --git a/drivers/spi/tegra114_spi.c b/drivers/spi/tegra114_spi.c index bb34b20..2740918 100644 --- a/drivers/spi/tegra114_spi.c +++ b/drivers/spi/tegra114_spi.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <time.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/spi/tegra20_sflash.c b/drivers/spi/tegra20_sflash.c index 0e68d33..3a1ef8c 100644 --- a/drivers/spi/tegra20_sflash.c +++ b/drivers/spi/tegra20_sflash.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <time.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/drivers/spi/tegra20_slink.c b/drivers/spi/tegra20_slink.c index ae2fc3e..f09d960 100644 --- a/drivers/spi/tegra20_slink.c +++ b/drivers/spi/tegra20_slink.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <time.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/spi/tegra210_qspi.c b/drivers/spi/tegra210_qspi.c index 6e540e9..c810dc4 100644 --- a/drivers/spi/tegra210_qspi.c +++ b/drivers/spi/tegra210_qspi.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <time.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index ef39198..f25fc36 100644 --- a/drivers/spi/ti_qspi.c +++ b/drivers/spi/ti_qspi.c @@ -7,6 +7,7 @@ #include <common.h> #include <cpu_func.h> +#include <log.h> #include <asm/cache.h> #include <asm/io.h> #include <asm/arch/omap.h> diff --git a/drivers/spi/uniphier_spi.c b/drivers/spi/uniphier_spi.c index 153fbb2..57d41b7 100644 --- a/drivers/spi/uniphier_spi.c +++ b/drivers/spi/uniphier_spi.c @@ -7,6 +7,7 @@ #include <clk.h> #include <common.h> #include <dm.h> +#include <log.h> #include <time.h> #include <dm/device_compat.h> #include <linux/bitfield.h> diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c index 2b5f2cf..4a568cb 100644 --- a/drivers/spi/xilinx_spi.c +++ b/drivers/spi/xilinx_spi.c @@ -16,6 +16,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <asm/io.h> diff --git a/drivers/spi/zynq_qspi.c b/drivers/spi/zynq_qspi.c index 9ad1927..8451f83 100644 --- a/drivers/spi/zynq_qspi.c +++ b/drivers/spi/zynq_qspi.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <asm/io.h> diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c index 0b2b2f4..b59b876 100644 --- a/drivers/spi/zynq_spi.c +++ b/drivers/spi/zynq_spi.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <spi.h> #include <time.h> diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index 5d15072..f12c6f7 100644 --- a/drivers/spi/zynqmp_gqspi.c +++ b/drivers/spi/zynqmp_gqspi.c @@ -7,6 +7,7 @@ #include <common.h> #include <cpu_func.h> +#include <log.h> #include <asm/arch/sys_proto.h> #include <asm/cache.h> #include <asm/io.h> |