diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:11 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | c05ed00afb95fa5237f16962fccf5810437317bf (patch) | |
tree | 19bb43dd3c7d12205fffb104db7c799d0a37af9f /drivers/spi | |
parent | 07e1114671c8b13d1bb90548a3c5ea31c49415d1 (diff) | |
download | u-boot-c05ed00afb95fa5237f16962fccf5810437317bf.tar.gz |
common: Drop linux/delay.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/spi')
-rw-r--r-- | drivers/spi/cadence_qspi_apb.c | 1 | ||||
-rw-r--r-- | drivers/spi/davinci_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/exynos_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/fsl_dspi.c | 1 | ||||
-rw-r--r-- | drivers/spi/fsl_espi.c | 1 | ||||
-rw-r--r-- | drivers/spi/fsl_qspi.c | 1 | ||||
-rw-r--r-- | drivers/spi/ich.c | 1 | ||||
-rw-r--r-- | drivers/spi/mpc8xx_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/mpc8xxx_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/mxc_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/rk_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/sh_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/soft_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/stm32_qspi.c | 1 | ||||
-rw-r--r-- | drivers/spi/stm32_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/tegra114_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/tegra20_sflash.c | 1 | ||||
-rw-r--r-- | drivers/spi/tegra20_slink.c | 1 | ||||
-rw-r--r-- | drivers/spi/tegra210_qspi.c | 1 | ||||
-rw-r--r-- | drivers/spi/uniphier_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/zynq_spi.c | 1 |
21 files changed, 21 insertions, 0 deletions
diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index e0a2003239..6362869299 100644 --- a/drivers/spi/cadence_qspi_apb.c +++ b/drivers/spi/cadence_qspi_apb.c @@ -29,6 +29,7 @@ #include <log.h> #include <asm/io.h> #include <dma.h> +#include <linux/delay.h> #include <linux/errno.h> #include <wait_bit.h> #include <spi.h> diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 3efa8dbaf0..c00a05af7d 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c @@ -16,6 +16,7 @@ #include <asm/arch/hardware.h> #include <dm.h> #include <dm/platform_data/spi_davinci.h> +#include <linux/delay.h> /* SPIGCR0 */ #define SPIGCR0_SPIENA_MASK 0x1 diff --git a/drivers/spi/exynos_spi.c b/drivers/spi/exynos_spi.c index cded7a8ddc..746686a18a 100644 --- a/drivers/spi/exynos_spi.c +++ b/drivers/spi/exynos_spi.c @@ -19,6 +19,7 @@ #include <asm/arch/pinmux.h> #include <asm/arch/spi.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index c85253dc71..cb3d44cb0f 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -22,6 +22,7 @@ #include <asm/arch/clock.h> #endif #include <fsl_dspi.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c index 67544ff522..ba49839107 100644 --- a/drivers/spi/fsl_espi.c +++ b/drivers/spi/fsl_espi.c @@ -8,6 +8,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <malloc.h> #include <spi.h> diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index 0ee5074269..de93cbda67 100644 --- a/drivers/spi/fsl_qspi.c +++ b/drivers/spi/fsl_qspi.c @@ -26,6 +26,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <linux/sizes.h> #include <linux/iopoll.h> diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index 537c756602..9c42755dae 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -25,6 +25,7 @@ #include <asm/fast_spi.h> #include <asm/io.h> #include <asm/mtrr.h> +#include <linux/delay.h> #include <linux/sizes.h> #include "ich.h" diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c index b020ce2b9d..0026ad23e3 100644 --- a/drivers/spi/mpc8xx_spi.c +++ b/drivers/spi/mpc8xx_spi.c @@ -20,6 +20,7 @@ #include <dm.h> #include <mpc8xx.h> #include <spi.h> +#include <linux/delay.h> #include <asm/cpm_8xx.h> #include <asm/io.h> diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c index 8aedd5e705..8491eacb1b 100644 --- a/drivers/spi/mpc8xxx_spi.c +++ b/drivers/spi/mpc8xxx_spi.c @@ -14,6 +14,7 @@ #include <asm/mpc8xxx_spi.h> #include <asm-generic/gpio.h> #include <dm/device_compat.h> +#include <linux/delay.h> enum { SPI_EV_NE = BIT(31 - 22), /* Receiver Not Empty */ diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 4865fd91f8..e35c6f9b4a 100644 --- a/drivers/spi/mxc_spi.c +++ b/drivers/spi/mxc_spi.c @@ -9,6 +9,7 @@ #include <malloc.h> #include <spi.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index c5842dc926..833cb04922 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -18,6 +18,7 @@ #include <log.h> #include <spi.h> #include <time.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch-rockchip/clock.h> diff --git a/drivers/spi/sh_spi.c b/drivers/spi/sh_spi.c index c58fd0ebc4..4ecfe60115 100644 --- a/drivers/spi/sh_spi.c +++ b/drivers/spi/sh_spi.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <spi.h> #include <asm/io.h> +#include <linux/delay.h> #include "sh_spi.h" static void sh_spi_write(unsigned long data, unsigned long *reg) diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_spi.c index af0dd7150f..e5f9f49caf 100644 --- a/drivers/spi/soft_spi.c +++ b/drivers/spi/soft_spi.c @@ -17,6 +17,7 @@ #include <malloc.h> #include <spi.h> #include <asm/gpio.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/stm32_qspi.c b/drivers/spi/stm32_qspi.c index ae62aebc02..9fc5f6e00e 100644 --- a/drivers/spi/stm32_qspi.c +++ b/drivers/spi/stm32_qspi.c @@ -13,6 +13,7 @@ #include <reset.h> #include <spi-mem.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/iopoll.h> #include <linux/ioport.h> #include <linux/sizes.h> diff --git a/drivers/spi/stm32_spi.c b/drivers/spi/stm32_spi.c index fdc9f952e7..8071de09eb 100644 --- a/drivers/spi/stm32_spi.c +++ b/drivers/spi/stm32_spi.c @@ -13,6 +13,7 @@ #include <reset.h> #include <spi.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/drivers/spi/tegra114_spi.c b/drivers/spi/tegra114_spi.c index 27409186b0..bf02bdb1af 100644 --- a/drivers/spi/tegra114_spi.c +++ b/drivers/spi/tegra114_spi.c @@ -13,6 +13,7 @@ #include <asm/arch/clock.h> #include <asm/arch-tegra/clk_rst.h> #include <spi.h> +#include <linux/delay.h> #include "tegra_spi.h" /* COMMAND1 */ diff --git a/drivers/spi/tegra20_sflash.c b/drivers/spi/tegra20_sflash.c index 3a1ef8c093..1461f09427 100644 --- a/drivers/spi/tegra20_sflash.c +++ b/drivers/spi/tegra20_sflash.c @@ -17,6 +17,7 @@ #include <asm/arch-tegra/clk_rst.h> #include <spi.h> #include <fdtdec.h> +#include <linux/delay.h> #include "tegra_spi.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/tegra20_slink.c b/drivers/spi/tegra20_slink.c index f09d9603d8..dcd0950894 100644 --- a/drivers/spi/tegra20_slink.c +++ b/drivers/spi/tegra20_slink.c @@ -14,6 +14,7 @@ #include <asm/arch-tegra/clk_rst.h> #include <spi.h> #include <fdtdec.h> +#include <linux/delay.h> #include "tegra_spi.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/tegra210_qspi.c b/drivers/spi/tegra210_qspi.c index c810dc421b..96ab6502de 100644 --- a/drivers/spi/tegra210_qspi.c +++ b/drivers/spi/tegra210_qspi.c @@ -15,6 +15,7 @@ #include <asm/arch-tegra/clk_rst.h> #include <spi.h> #include <fdtdec.h> +#include <linux/delay.h> #include "tegra_spi.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/uniphier_spi.c b/drivers/spi/uniphier_spi.c index 57d41b778b..42ed1ba20b 100644 --- a/drivers/spi/uniphier_spi.c +++ b/drivers/spi/uniphier_spi.c @@ -11,6 +11,7 @@ #include <time.h> #include <dm/device_compat.h> #include <linux/bitfield.h> +#include <linux/delay.h> #include <linux/io.h> #include <spi.h> #include <wait_bit.h> diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c index b59b876a62..e3bad5532a 100644 --- a/drivers/spi/zynq_spi.c +++ b/drivers/spi/zynq_spi.c @@ -13,6 +13,7 @@ #include <spi.h> #include <time.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; |