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/mtd | |
parent | 07e1114671c8b13d1bb90548a3c5ea31c49415d1 (diff) | |
download | u-boot-c05ed00afb95fa5237f16962fccf5810437317bf.zip u-boot-c05ed00afb95fa5237f16962fccf5810437317bf.tar.gz u-boot-c05ed00afb95fa5237f16962fccf5810437317bf.tar.bz2 |
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/mtd')
-rw-r--r-- | drivers/mtd/cfi_flash.c | 1 | ||||
-rw-r--r-- | drivers/mtd/mw_eeprom.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/am335x_spl_bch.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/arasan_nfc.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/atmel_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/denali_spl.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/fsl_upm.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/kmeter1_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/lpc32xx_nand_mlc.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/mxc_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/mxs_nand_spl.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/nand_base.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/pxa3xx_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/stm32_fmc2_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/sunxi_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/sunxi_nand_spl.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/tegra_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/zynq_nand.c | 1 | ||||
-rw-r--r-- | drivers/mtd/spi/sf_dataflash.c | 1 | ||||
-rw-r--r-- | drivers/mtd/st_smi.c | 1 |
20 files changed, 20 insertions, 0 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 6be40d0..b7289ba 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -31,6 +31,7 @@ #include <asm/byteorder.h> #include <asm/unaligned.h> #include <env_internal.h> +#include <linux/delay.h> #include <mtd/cfi_flash.h> #include <watchdog.h> diff --git a/drivers/mtd/mw_eeprom.c b/drivers/mtd/mw_eeprom.c index 6a3a6f6..9837733 100644 --- a/drivers/mtd/mw_eeprom.c +++ b/drivers/mtd/mw_eeprom.c @@ -3,6 +3,7 @@ #include <common.h> #include <eeprom.h> #include <asm/ic/ssi.h> +#include <linux/delay.h> /* * Serial EEPROM opcodes, including start bit diff --git a/drivers/mtd/nand/raw/am335x_spl_bch.c b/drivers/mtd/nand/raw/am335x_spl_bch.c index ba2f33a..b6fc5f2 100644 --- a/drivers/mtd/nand/raw/am335x_spl_bch.c +++ b/drivers/mtd/nand/raw/am335x_spl_bch.c @@ -12,6 +12,7 @@ #include <common.h> #include <nand.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/mtd/nand_ecc.h> static int nand_ecc_pos[] = CONFIG_SYS_NAND_ECCPOS; diff --git a/drivers/mtd/nand/raw/arasan_nfc.c b/drivers/mtd/nand/raw/arasan_nfc.c index 110c32b..6c1d640 100644 --- a/drivers/mtd/nand/raw/arasan_nfc.c +++ b/drivers/mtd/nand/raw/arasan_nfc.c @@ -8,6 +8,7 @@ #include <common.h> #include <malloc.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/mtd/mtd.h> #include <linux/mtd/rawnand.h> diff --git a/drivers/mtd/nand/raw/atmel_nand.c b/drivers/mtd/nand/raw/atmel_nand.c index 2b39e41..4a017ea 100644 --- a/drivers/mtd/nand/raw/atmel_nand.c +++ b/drivers/mtd/nand/raw/atmel_nand.c @@ -17,6 +17,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <malloc.h> #include <nand.h> diff --git a/drivers/mtd/nand/raw/denali_spl.c b/drivers/mtd/nand/raw/denali_spl.c index 4b815a4..f721428 100644 --- a/drivers/mtd/nand/raw/denali_spl.c +++ b/drivers/mtd/nand/raw/denali_spl.c @@ -8,6 +8,7 @@ #include <log.h> #include <asm/io.h> #include <asm/unaligned.h> +#include <linux/delay.h> #include <linux/mtd/rawnand.h> #include "denali.h" diff --git a/drivers/mtd/nand/raw/fsl_upm.c b/drivers/mtd/nand/raw/fsl_upm.c index ec233b2..6c86a7e 100644 --- a/drivers/mtd/nand/raw/fsl_upm.c +++ b/drivers/mtd/nand/raw/fsl_upm.c @@ -10,6 +10,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/mtd/mtd.h> #include <linux/mtd/fsl_upm.h> diff --git a/drivers/mtd/nand/raw/kmeter1_nand.c b/drivers/mtd/nand/raw/kmeter1_nand.c index 7103300..cf33f28 100644 --- a/drivers/mtd/nand/raw/kmeter1_nand.c +++ b/drivers/mtd/nand/raw/kmeter1_nand.c @@ -7,6 +7,7 @@ #include <common.h> #include <nand.h> #include <asm/io.h> +#include <linux/delay.h> #define CONFIG_NAND_MODE_REG (void *)(CONFIG_SYS_NAND_BASE + 0x20000) #define CONFIG_NAND_DATA_REG (void *)(CONFIG_SYS_NAND_BASE + 0x30000) diff --git a/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c b/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c index 79d1489..b3232ed 100644 --- a/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c +++ b/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c @@ -21,6 +21,7 @@ #include <common.h> #include <nand.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <nand.h> diff --git a/drivers/mtd/nand/raw/mxc_nand.c b/drivers/mtd/nand/raw/mxc_nand.c index 049bc79..59cef20 100644 --- a/drivers/mtd/nand/raw/mxc_nand.c +++ b/drivers/mtd/nand/raw/mxc_nand.c @@ -8,6 +8,7 @@ #include <common.h> #include <log.h> #include <nand.h> +#include <linux/delay.h> #include <linux/err.h> #include <asm/io.h> #if defined(CONFIG_MX25) || defined(CONFIG_MX27) || defined(CONFIG_MX35) || \ diff --git a/drivers/mtd/nand/raw/mxs_nand_spl.c b/drivers/mtd/nand/raw/mxs_nand_spl.c index 3460f2b..ffe9860 100644 --- a/drivers/mtd/nand/raw/mxs_nand_spl.c +++ b/drivers/mtd/nand/raw/mxs_nand_spl.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <mxs_nand.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/err.h> static struct mtd_info *mtd; diff --git a/drivers/mtd/nand/raw/nand_base.c b/drivers/mtd/nand/raw/nand_base.c index c9e54ea..2665038 100644 --- a/drivers/mtd/nand/raw/nand_base.c +++ b/drivers/mtd/nand/raw/nand_base.c @@ -37,6 +37,7 @@ #include <watchdog.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/compat.h> #include <linux/mtd/mtd.h> diff --git a/drivers/mtd/nand/raw/pxa3xx_nand.c b/drivers/mtd/nand/raw/pxa3xx_nand.c index fc5b627..244b0fe 100644 --- a/drivers/mtd/nand/raw/pxa3xx_nand.c +++ b/drivers/mtd/nand/raw/pxa3xx_nand.c @@ -13,6 +13,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/drivers/mtd/nand/raw/stm32_fmc2_nand.c b/drivers/mtd/nand/raw/stm32_fmc2_nand.c index 912fe48..97188b2 100644 --- a/drivers/mtd/nand/raw/stm32_fmc2_nand.c +++ b/drivers/mtd/nand/raw/stm32_fmc2_nand.c @@ -10,6 +10,7 @@ #include <log.h> #include <nand.h> #include <reset.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/iopoll.h> #include <linux/ioport.h> diff --git a/drivers/mtd/nand/raw/sunxi_nand.c b/drivers/mtd/nand/raw/sunxi_nand.c index 9b99be1..5331e73 100644 --- a/drivers/mtd/nand/raw/sunxi_nand.c +++ b/drivers/mtd/nand/raw/sunxi_nand.c @@ -31,6 +31,7 @@ #include <nand.h> #include <dm/device_compat.h> #include <dm/devres.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/kernel.h> diff --git a/drivers/mtd/nand/raw/sunxi_nand_spl.c b/drivers/mtd/nand/raw/sunxi_nand_spl.c index 6cde981..8b2f7ea 100644 --- a/drivers/mtd/nand/raw/sunxi_nand_spl.c +++ b/drivers/mtd/nand/raw/sunxi_nand_spl.c @@ -10,6 +10,7 @@ #include <config.h> #include <nand.h> #include <linux/ctype.h> +#include <linux/delay.h> /* registers */ #define NFC_CTL 0x00000000 diff --git a/drivers/mtd/nand/raw/tegra_nand.c b/drivers/mtd/nand/raw/tegra_nand.c index b3bdd20..b9f5bdd 100644 --- a/drivers/mtd/nand/raw/tegra_nand.c +++ b/drivers/mtd/nand/raw/tegra_nand.c @@ -16,6 +16,7 @@ #include <asm/arch-tegra/clk_rst.h> #include <dm/device_compat.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <fdtdec.h> diff --git a/drivers/mtd/nand/raw/zynq_nand.c b/drivers/mtd/nand/raw/zynq_nand.c index 0bddaaa..fa59455 100644 --- a/drivers/mtd/nand/raw/zynq_nand.c +++ b/drivers/mtd/nand/raw/zynq_nand.c @@ -10,6 +10,7 @@ #include <log.h> #include <malloc.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <nand.h> #include <linux/ioport.h> diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index f85799d..27d847d 100644 --- a/drivers/mtd/spi/sf_dataflash.c +++ b/drivers/mtd/spi/sf_dataflash.c @@ -15,6 +15,7 @@ #include <spi.h> #include <spi_flash.h> #include <div64.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/math64.h> diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c index d29a715..7c652e6 100644 --- a/drivers/mtd/st_smi.c +++ b/drivers/mtd/st_smi.c @@ -6,6 +6,7 @@ #include <common.h> #include <flash.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/mtd/st_smi.h> |