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 | |
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>
891 files changed, 897 insertions, 4 deletions
@@ -11,6 +11,7 @@ #include <env.h> #include <malloc.h> #include <env_internal.h> +#include <linux/delay.h> #include <linux/types.h> #include <api_public.h> #include <u-boot/crc.h> diff --git a/arch/arm/cpu/arm920t/ep93xx/timer.c b/arch/arm/cpu/arm920t/ep93xx/timer.c index 0ee6034..892bb06 100644 --- a/arch/arm/cpu/arm920t/ep93xx/timer.c +++ b/arch/arm/cpu/arm920t/ep93xx/timer.c @@ -14,6 +14,7 @@ #include <common.h> #include <init.h> #include <time.h> +#include <linux/delay.h> #include <linux/types.h> #include <asm/arch/ep93xx.h> #include <asm/io.h> diff --git a/arch/arm/cpu/arm920t/imx/timer.c b/arch/arm/cpu/arm920t/imx/timer.c index 21129a7..e9d5577 100644 --- a/arch/arm/cpu/arm920t/imx/timer.c +++ b/arch/arm/cpu/arm920t/imx/timer.c @@ -18,6 +18,7 @@ #if defined (CONFIG_IMX) #include <asm/arch/imx-regs.h> +#include <linux/delay.h> int timer_init (void) { @@ -48,7 +49,7 @@ ulong get_timer (ulong base) return get_timer_masked() - base; } -void __udelay (unsigned long usec) +void __udelay(unsigned long usec) { ulong endtime = get_timer_masked() + usec; signed long diff; diff --git a/arch/arm/cpu/arm926ejs/armada100/timer.c b/arch/arm/cpu/arm926ejs/armada100/timer.c index b9941fc..0f1e68c 100644 --- a/arch/arm/cpu/arm926ejs/armada100/timer.c +++ b/arch/arm/cpu/arm926ejs/armada100/timer.c @@ -12,6 +12,7 @@ #include <time.h> #include <asm/arch/cpu.h> #include <asm/arch/armada100.h> +#include <linux/delay.h> /* * Timer registers diff --git a/arch/arm/cpu/arm926ejs/mx27/timer.c b/arch/arm/cpu/arm926ejs/mx27/timer.c index d6e1e09..408e88a 100644 --- a/arch/arm/cpu/arm926ejs/mx27/timer.c +++ b/arch/arm/cpu/arm926ejs/mx27/timer.c @@ -22,6 +22,7 @@ #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/ptrace.h> +#include <linux/delay.h> /* General purpose timers bitfields */ #define GPTCR_SWR (1 << 15) /* Software reset */ diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c index d742c0f..12ebc1c 100644 --- a/arch/arm/cpu/arm926ejs/mxs/mxs.c +++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c @@ -15,6 +15,7 @@ #include <hang.h> #include <init.h> #include <net.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/arch/arm/cpu/arm926ejs/mxs/timer.c b/arch/arm/cpu/arm926ejs/mxs/timer.c index b6fdc88..5ab4ed0 100644 --- a/arch/arm/cpu/arm926ejs/mxs/timer.c +++ b/arch/arm/cpu/arm926ejs/mxs/timer.c @@ -15,6 +15,7 @@ #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> /* Maximum fixed count */ #if defined(CONFIG_MX23) diff --git a/arch/arm/cpu/arm926ejs/spear/reset.c b/arch/arm/cpu/arm926ejs/spear/reset.c index 3b884cd..a316540 100644 --- a/arch/arm/cpu/arm926ejs/spear/reset.c +++ b/arch/arm/cpu/arm926ejs/spear/reset.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/arch/hardware.h> #include <asm/arch/spr_syscntl.h> +#include <linux/delay.h> void reset_cpu(ulong ignored) { diff --git a/arch/arm/cpu/arm926ejs/spear/timer.c b/arch/arm/cpu/arm926ejs/spear/timer.c index 6803c34..dd0f15c 100644 --- a/arch/arm/cpu/arm926ejs/spear/timer.c +++ b/arch/arm/cpu/arm926ejs/spear/timer.c @@ -12,6 +12,7 @@ #include <asm/arch/spr_gpt.h> #include <asm/arch/spr_misc.h> #include <asm/ptrace.h> +#include <linux/delay.h> #define GPT_RESOLUTION (CONFIG_SPEAR_HZ_CLOCK / CONFIG_SPEAR_HZ) #define READ_TIMER() (readl(&gpt_regs_p->count) & GPT_FREE_RUNNING) diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-core.c b/arch/arm/cpu/armv7/bcm235xx/clk-core.c index 04366c8..d7edefe 100644 --- a/arch/arm/cpu/armv7/bcm235xx/clk-core.c +++ b/arch/arm/cpu/armv7/bcm235xx/clk-core.c @@ -12,6 +12,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <bitfield.h> #include <asm/arch/sysmap.h> diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-eth.c b/arch/arm/cpu/armv7/bcm235xx/clk-eth.c index 618af70..209ceca 100644 --- a/arch/arm/cpu/armv7/bcm235xx/clk-eth.c +++ b/arch/arm/cpu/armv7/bcm235xx/clk-eth.c @@ -5,6 +5,7 @@ #include <common.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h> diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-core.c b/arch/arm/cpu/armv7/bcm281xx/clk-core.c index 574a8a0..26b673a 100644 --- a/arch/arm/cpu/armv7/bcm281xx/clk-core.c +++ b/arch/arm/cpu/armv7/bcm281xx/clk-core.c @@ -12,6 +12,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <bitfield.h> #include <asm/arch/sysmap.h> diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-eth.c b/arch/arm/cpu/armv7/bcm281xx/clk-eth.c index 618af70..209ceca 100644 --- a/arch/arm/cpu/armv7/bcm281xx/clk-eth.c +++ b/arch/arm/cpu/armv7/bcm281xx/clk-eth.c @@ -5,6 +5,7 @@ #include <common.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h> diff --git a/arch/arm/cpu/armv7/iproc-common/timer.c b/arch/arm/cpu/armv7/iproc-common/timer.c index 5c10976..a4255a4 100644 --- a/arch/arm/cpu/armv7/iproc-common/timer.c +++ b/arch/arm/cpu/armv7/iproc-common/timer.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/iproc-common/timer.h> #include <asm/iproc-common/sysmap.h> +#include <linux/delay.h> static inline uint64_t timer_global_read(void) { diff --git a/arch/arm/cpu/armv7/ls102xa/cpu.c b/arch/arm/cpu/armv7/ls102xa/cpu.c index e9464ee..91e9882 100644 --- a/arch/arm/cpu/armv7/ls102xa/cpu.c +++ b/arch/arm/cpu/armv7/ls102xa/cpu.c @@ -18,6 +18,7 @@ #include <fsl_esdhc.h> #include <config.h> #include <fsl_wdog.h> +#include <linux/delay.h> #include "fsl_epu.h" diff --git a/arch/arm/cpu/armv7/ls102xa/timer.c b/arch/arm/cpu/armv7/ls102xa/timer.c index 46ade4a..2a32b30 100644 --- a/arch/arm/cpu/armv7/ls102xa/timer.c +++ b/arch/arm/cpu/armv7/ls102xa/timer.c @@ -10,6 +10,7 @@ #include <div64.h> #include <asm/arch/immap_ls102xa.h> #include <asm/arch/clock.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/cpu/armv7/s5p-common/timer.c b/arch/arm/cpu/armv7/s5p-common/timer.c index d2b5b4d..3064fd2 100644 --- a/arch/arm/cpu/armv7/s5p-common/timer.c +++ b/arch/arm/cpu/armv7/s5p-common/timer.c @@ -13,6 +13,7 @@ #include <asm/io.h> #include <asm/arch/pwm.h> #include <asm/arch/clk.h> +#include <linux/delay.h> /* Use the old PWM interface for now */ #undef CONFIG_DM_PWM diff --git a/arch/arm/cpu/armv7/stv0991/reset.c b/arch/arm/cpu/armv7/stv0991/reset.c index 008e271..fb67de1 100644 --- a/arch/arm/cpu/armv7/stv0991/reset.c +++ b/arch/arm/cpu/armv7/stv0991/reset.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <asm/io.h> #include <asm/arch/stv0991_wdru.h> +#include <linux/delay.h> void reset_cpu(ulong ignored) { puts("System is going to reboot ...\n"); diff --git a/arch/arm/cpu/armv7/stv0991/timer.c b/arch/arm/cpu/armv7/stv0991/timer.c index 5adccab..919529a 100644 --- a/arch/arm/cpu/armv7/stv0991/timer.c +++ b/arch/arm/cpu/armv7/stv0991/timer.c @@ -11,6 +11,7 @@ #include <asm/arch-stv0991/hardware.h> #include <asm/arch-stv0991/stv0991_cgu.h> #include <asm/arch-stv0991/stv0991_gpt.h> +#include <linux/delay.h> static struct stv0991_cgu_regs *const stv0991_cgu_regs = \ (struct stv0991_cgu_regs *) (CGU_BASE_ADDR); diff --git a/arch/arm/cpu/armv7/sunxi/timer.c b/arch/arm/cpu/armv7/sunxi/timer.c index 4f6a66d..65b64b5 100644 --- a/arch/arm/cpu/armv7/sunxi/timer.c +++ b/arch/arm/cpu/armv7/sunxi/timer.c @@ -10,6 +10,7 @@ #include <time.h> #include <asm/io.h> #include <asm/arch/timer.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/cpu/armv7/vf610/timer.c b/arch/arm/cpu/armv7/vf610/timer.c index 229e9e9..fa8f8fa 100644 --- a/arch/arm/cpu/armv7/vf610/timer.c +++ b/arch/arm/cpu/armv7/vf610/timer.c @@ -10,6 +10,7 @@ #include <div64.h> #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> +#include <linux/delay.h> static struct pit_reg *cur_pit = (struct pit_reg *)PIT_BASE_ADDR; diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c index f24ca7f..41c89b8 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c @@ -6,6 +6,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/fsl_serdes.h> #include <asm/arch/soc.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c index 3ac5096..3f1da43 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c @@ -8,6 +8,7 @@ #include <env.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/fsl_serdes.h> #include <asm/arch/soc.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/mp.c b/arch/arm/cpu/armv8/fsl-layerscape/mp.c index 31536b8..1ea887b 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/mp.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/mp.c @@ -11,6 +11,7 @@ #include <asm/system.h> #include <asm/arch/mp.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "cpu.h" #include <asm/arch-fsl-layerscape/soc.h> diff --git a/arch/arm/cpu/pxa/usb.c b/arch/arm/cpu/pxa/usb.c index 80a5977..13e010d 100644 --- a/arch/arm/cpu/pxa/usb.c +++ b/arch/arm/cpu/pxa/usb.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <linux/delay.h> #if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT) # if defined(CONFIG_CPU_MONAHANS) || defined(CONFIG_CPU_PXA27X) diff --git a/arch/arm/cpu/sa1100/timer.c b/arch/arm/cpu/sa1100/timer.c index f2cbee5..a5cdaf5 100644 --- a/arch/arm/cpu/sa1100/timer.c +++ b/arch/arm/cpu/sa1100/timer.c @@ -12,6 +12,7 @@ #include <common.h> #include <SA-1100.h> #include <time.h> +#include <linux/delay.h> static ulong get_timer_masked (void) { diff --git a/arch/arm/lib/reset.c b/arch/arm/lib/reset.c index 65b4be2..4f1a768 100644 --- a/arch/arm/lib/reset.c +++ b/arch/arm/lib/reset.c @@ -24,6 +24,7 @@ #include <command.h> #include <cpu_func.h> #include <irq_func.h> +#include <linux/delay.h> __weak void reset_misc(void) { diff --git a/arch/arm/mach-at91/arm920t/timer.c b/arch/arm/mach-at91/arm920t/timer.c index 1e014ad..dca2d2c 100644 --- a/arch/arm/mach-at91/arm920t/timer.c +++ b/arch/arm/mach-at91/arm920t/timer.c @@ -16,6 +16,7 @@ #include <common.h> #include <init.h> #include <time.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/arch/hardware.h> diff --git a/arch/arm/mach-at91/armv7/clock.c b/arch/arm/mach-at91/armv7/clock.c index 3640fce..3926896 100644 --- a/arch/arm/mach-at91/armv7/clock.c +++ b/arch/arm/mach-at91/armv7/clock.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/hardware.h> diff --git a/arch/arm/mach-at91/mpddrc.c b/arch/arm/mach-at91/mpddrc.c index 3df0ea7..5422c05 100644 --- a/arch/arm/mach-at91/mpddrc.c +++ b/arch/arm/mach-at91/mpddrc.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <asm/arch/atmel_mpddrc.h> #include <asm/arch/at91_common.h> +#include <linux/delay.h> #define SAMA5D3_MPDDRC_VERSION 0x140 diff --git a/arch/arm/mach-at91/phy.c b/arch/arm/mach-at91/phy.c index a10c0ca..6101eee 100644 --- a/arch/arm/mach-at91/phy.c +++ b/arch/arm/mach-at91/phy.c @@ -14,6 +14,7 @@ #include <common.h> #include <asm/hardware.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <asm/arch/at91_rstc.h> #include <watchdog.h> diff --git a/arch/arm/mach-davinci/timer.c b/arch/arm/mach-davinci/timer.c index ebe985f..a668182 100644 --- a/arch/arm/mach-davinci/timer.c +++ b/arch/arm/mach-davinci/timer.c @@ -26,6 +26,7 @@ #include <asm/io.h> #include <asm/arch/timer_defs.h> #include <div64.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-exynos/include/mach/dp_info.h b/arch/arm/mach-exynos/include/mach/dp_info.h index d3a516f..3226eb9 100644 --- a/arch/arm/mach-exynos/include/mach/dp_info.h +++ b/arch/arm/mach-exynos/include/mach/dp_info.h @@ -197,4 +197,5 @@ unsigned int exynos_init_dp(void) } #endif +#include <linux/delay.h> #endif /* _DP_INFO_H */ diff --git a/arch/arm/mach-imx/ddrmc-vf610.c b/arch/arm/mach-imx/ddrmc-vf610.c index f25119a..7895ee6 100644 --- a/arch/arm/mach-imx/ddrmc-vf610.c +++ b/arch/arm/mach-imx/ddrmc-vf610.c @@ -11,6 +11,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux-vf610.h> #include <asm/arch/ddrmc-vf610.h> +#include <linux/delay.h> #include "ddrmc-vf610-calibration.h" void ddrmc_setup_iomux(const iomux_v3_cfg_t *pads, int pads_count) diff --git a/arch/arm/mach-imx/i2c-mxv7.c b/arch/arm/mach-imx/i2c-mxv7.c index 814d834..e6c74bf 100644 --- a/arch/arm/mach-imx/i2c-mxv7.c +++ b/arch/arm/mach-imx/i2c-mxv7.c @@ -6,6 +6,7 @@ #include <malloc.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/mxc_i2c.h> diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c b/arch/arm/mach-imx/imx8m/clock_imx8mm.c index 91c827f..8ea7f01 100644 --- a/arch/arm/mach-imx/imx8m/clock_imx8mm.c +++ b/arch/arm/mach-imx/imx8m/clock_imx8mm.c @@ -12,6 +12,7 @@ #include <asm/io.h> #include <div64.h> #include <errno.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c b/arch/arm/mach-imx/imx8m/clock_imx8mq.c index 52205b0..759ec6d 100644 --- a/arch/arm/mach-imx/imx8m/clock_imx8mq.c +++ b/arch/arm/mach-imx/imx8m/clock_imx8mq.c @@ -12,6 +12,7 @@ #include <asm/io.h> #include <asm/arch/sys_proto.h> #include <errno.h> +#include <linux/delay.h> #include <linux/iopoll.h> static struct anamix_pll *ana_pll = (struct anamix_pll *)ANATOP_BASE_ADDR; diff --git a/arch/arm/mach-imx/misc.c b/arch/arm/mach-imx/misc.c index 549ef2b..818f38e 100644 --- a/arch/arm/mach-imx/misc.c +++ b/arch/arm/mach-imx/misc.c @@ -7,6 +7,7 @@ #include <lmb.h> #include <log.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/mach-imx/regs-common.h> diff --git a/arch/arm/mach-imx/mx6/ddr.c b/arch/arm/mach-imx/mx6/ddr.c index 79a90c8..16df710 100644 --- a/arch/arm/mach-imx/mx6/ddr.c +++ b/arch/arm/mach-imx/mx6/ddr.c @@ -7,6 +7,7 @@ #include <common.h> #include <hang.h> #include <log.h> +#include <linux/delay.h> #include <linux/types.h> #include <asm/arch/clock.h> #include <asm/arch/mx6-ddr.h> diff --git a/arch/arm/mach-imx/mx6/litesom.c b/arch/arm/mach-imx/mx6/litesom.c index b0a6bd5..596773f 100644 --- a/arch/arm/mach-imx/mx6/litesom.c +++ b/arch/arm/mach-imx/mx6/litesom.c @@ -18,6 +18,7 @@ #include <asm/io.h> #include <common.h> #include <fsl_esdhc_imx.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <mmc.h> diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c index b8aaf3e..19ca382 100644 --- a/arch/arm/mach-imx/mx6/soc.c +++ b/arch/arm/mach-imx/mx6/soc.c @@ -8,6 +8,7 @@ #include <common.h> #include <init.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c index 60e688c..798fe74 100644 --- a/arch/arm/mach-imx/mx7/soc.c +++ b/arch/arm/mach-imx/mx7/soc.c @@ -19,6 +19,7 @@ #include <imx_thermal.h> #include <fsl_sec.h> #include <asm/setup.h> +#include <linux/delay.h> #define IOMUXC_GPR1 0x4 #define BM_IOMUXC_GPR1_IRQ 0x1000 diff --git a/arch/arm/mach-imx/mx7ulp/scg.c b/arch/arm/mach-imx/mx7ulp/scg.c index 6e34803..4c06655 100644 --- a/arch/arm/mach-imx/mx7ulp/scg.c +++ b/arch/arm/mach-imx/mx7ulp/scg.c @@ -11,6 +11,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/pcc.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> scg_p scg1_regs = (scg_p)SCG1_RBASE; diff --git a/arch/arm/mach-imx/syscounter.c b/arch/arm/mach-imx/syscounter.c index db1c2c1..7da43c3 100644 --- a/arch/arm/mach-imx/syscounter.c +++ b/arch/arm/mach-imx/syscounter.c @@ -13,6 +13,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/sys_proto.h> #include <asm/mach-imx/syscounter.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-keystone/ddr3.c b/arch/arm/mach-keystone/ddr3.c index 9ab6b53..7dea600 100644 --- a/arch/arm/mach-keystone/ddr3.c +++ b/arch/arm/mach-keystone/ddr3.c @@ -13,6 +13,7 @@ #include <asm/arch/msmc.h> #include <asm/arch/ddr3.h> #include <asm/arch/psc_defs.h> +#include <linux/delay.h> #include <asm/ti-common/ti-edma3.h> diff --git a/arch/arm/mach-keystone/psc.c b/arch/arm/mach-keystone/psc.c index f87bcb3..145aff8 100644 --- a/arch/arm/mach-keystone/psc.c +++ b/arch/arm/mach-keystone/psc.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/processor.h> diff --git a/arch/arm/mach-lpc32xx/dram.c b/arch/arm/mach-lpc32xx/dram.c index 4f97569..1602237 100644 --- a/arch/arm/mach-lpc32xx/dram.c +++ b/arch/arm/mach-lpc32xx/dram.c @@ -17,6 +17,7 @@ #include <asm/arch/wdt.h> #include <asm/arch/emc.h> #include <asm/io.h> +#include <linux/delay.h> static struct clk_pm_regs *clk = (struct clk_pm_regs *)CLK_PM_BASE; static struct emc_regs *emc = (struct emc_regs *)EMC_BASE; diff --git a/arch/arm/mach-lpc32xx/timer.c b/arch/arm/mach-lpc32xx/timer.c index 46b7b46..90183e3 100644 --- a/arch/arm/mach-lpc32xx/timer.c +++ b/arch/arm/mach-lpc32xx/timer.c @@ -10,6 +10,7 @@ #include <asm/arch/clk.h> #include <asm/arch/timer.h> #include <asm/io.h> +#include <linux/delay.h> static struct timer_regs *timer0 = (struct timer_regs *)TIMER0_BASE; static struct timer_regs *timer1 = (struct timer_regs *)TIMER1_BASE; diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.c index ab8b029..c56b0ae 100644 --- a/arch/arm/mach-mvebu/cpu.c +++ b/arch/arm/mach-mvebu/cpu.c @@ -7,6 +7,7 @@ #include <ahci.h> #include <cpu_func.h> #include <init.h> +#include <linux/delay.h> #include <linux/mbus.h> #include <asm/io.h> #include <asm/pl310.h> diff --git a/arch/arm/mach-mvebu/efuse.c b/arch/arm/mach-mvebu/efuse.c index 16ccfec..304be95 100644 --- a/arch/arm/mach-mvebu/efuse.c +++ b/arch/arm/mach-mvebu/efuse.c @@ -10,6 +10,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/efuse.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include <linux/mbus.h> #if defined(CONFIG_MVEBU_EFUSE_FAKE) diff --git a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c index a1cef9f..af50cbc 100644 --- a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c +++ b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "ctrl_pex.h" #include "sys_env_lib.h" diff --git a/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c b/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c index 66409a5..67a00cf 100644 --- a/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c +++ b/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "high_speed_env_spec.h" #include "sys_env_lib.h" diff --git a/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c b/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c index d9edfaa..2a51b71 100644 --- a/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c +++ b/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "seq_exec.h" #include "high_speed_env_spec.h" diff --git a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c index c8c9298..ea3b4c7 100644 --- a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c +++ b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "high_speed_env_spec.h" #include "board_env_spec.h" diff --git a/arch/arm/mach-omap2/am33xx/board.c b/arch/arm/mach-omap2/am33xx/board.c index 533601e..ce58bf8 100644 --- a/arch/arm/mach-omap2/am33xx/board.c +++ b/arch/arm/mach-omap2/am33xx/board.c @@ -32,6 +32,7 @@ #include <i2c.h> #include <miiphy.h> #include <cpsw.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/compiler.h> #include <linux/usb/ch9.h> diff --git a/arch/arm/mach-omap2/am33xx/clock_ti814x.c b/arch/arm/mach-omap2/am33xx/clock_ti814x.c index aef090b..27abaff 100644 --- a/arch/arm/mach-omap2/am33xx/clock_ti814x.c +++ b/arch/arm/mach-omap2/am33xx/clock_ti814x.c @@ -12,6 +12,7 @@ #include <asm/arch/clock.h> #include <asm/arch/hardware.h> #include <asm/io.h> +#include <linux/delay.h> /* PRCM */ #define PRCM_MOD_EN 0x2 diff --git a/arch/arm/mach-omap2/am33xx/ddr.c b/arch/arm/mach-omap2/am33xx/ddr.c index 7163627..f8434ec 100644 --- a/arch/arm/mach-omap2/am33xx/ddr.c +++ b/arch/arm/mach-omap2/am33xx/ddr.c @@ -12,6 +12,7 @@ #include <asm/arch/sys_proto.h> #include <asm/io.h> #include <asm/emif.h> +#include <linux/delay.h> /** * Base address for EMIF instances diff --git a/arch/arm/mach-omap2/am33xx/ti816x_emif4.c b/arch/arm/mach-omap2/am33xx/ti816x_emif4.c index 9f59489..707ea80 100644 --- a/arch/arm/mach-omap2/am33xx/ti816x_emif4.c +++ b/arch/arm/mach-omap2/am33xx/ti816x_emif4.c @@ -15,6 +15,7 @@ #include <asm/arch/sys_proto.h> #include <asm/io.h> #include <asm/emif.h> +#include <linux/delay.h> /********************************************************************* * Init DDR3 on TI816X EVM diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c index 8bc4fbb..312f868 100644 --- a/arch/arm/mach-omap2/emif-common.c +++ b/arch/arm/mach-omap2/emif-common.c @@ -21,6 +21,7 @@ #include <asm/utils.h> #include <linux/compiler.h> #include <asm/ti-common/ti-edma3.h> +#include <linux/delay.h> static int emif1_enabled = -1, emif2_enabled = -1; diff --git a/arch/arm/mach-omap2/omap5/hwinit.c b/arch/arm/mach-omap2/omap5/hwinit.c index 3b17330..47ac865 100644 --- a/arch/arm/mach-omap2/omap5/hwinit.c +++ b/arch/arm/mach-omap2/omap5/hwinit.c @@ -18,6 +18,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/sys_proto.h> #include <asm/arch/clock.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <asm/utils.h> #include <asm/arch/gpio.h> diff --git a/arch/arm/mach-omap2/pipe3-phy.c b/arch/arm/mach-omap2/pipe3-phy.c index 8808e35..94332b7 100644 --- a/arch/arm/mach-omap2/pipe3-phy.c +++ b/arch/arm/mach-omap2/pipe3-phy.c @@ -11,6 +11,7 @@ #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include "pipe3-phy.h" diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 7752dd1..bcfba16 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -21,6 +21,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/clock.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-orion5x/timer.c b/arch/arm/mach-orion5x/timer.c index a64d572..4926bb7 100644 --- a/arch/arm/mach-orion5x/timer.c +++ b/arch/arm/mach-orion5x/timer.c @@ -11,6 +11,7 @@ #include <init.h> #include <time.h> #include <asm/io.h> +#include <linux/delay.h> #define UBOOT_CNTR 0 /* counter to use for uboot timer */ diff --git a/arch/arm/mach-rmobile/timer.c b/arch/arm/mach-rmobile/timer.c index f88ccfd..ba06535 100644 --- a/arch/arm/mach-rmobile/timer.c +++ b/arch/arm/mach-rmobile/timer.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <asm/arch-armv7/globaltimer.h> #include <asm/arch/rmobile.h> +#include <linux/delay.h> static struct globaltimer *global_timer = \ (struct globaltimer *)GLOBAL_TIMER_BASE_ADDR; diff --git a/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c b/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c index 3874716..6ae254e 100644 --- a/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c +++ b/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c @@ -11,6 +11,7 @@ #include <asm/arch-rockchip/hardware.h> #include <asm/arch-rockchip/sdram_rk3036.h> #include <asm/arch-rockchip/uart.h> +#include <linux/delay.h> /* * we can not fit the code to access the device tree in SPL diff --git a/arch/arm/mach-rockchip/rk3368/rk3368.c b/arch/arm/mach-rockchip/rk3368/rk3368.c index bcc230c..c865afa 100644 --- a/arch/arm/mach-rockchip/rk3368/rk3368.c +++ b/arch/arm/mach-rockchip/rk3368/rk3368.c @@ -14,6 +14,7 @@ #include <asm/arch-rockchip/cru_rk3368.h> #include <asm/arch-rockchip/grf_rk3368.h> #include <asm/arch-rockchip/hardware.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-socfpga/clock_manager_arria10.c b/arch/arm/mach-socfpga/clock_manager_arria10.c index d7c8eaf..58d5d3f 100644 --- a/arch/arm/mach-socfpga/clock_manager_arria10.c +++ b/arch/arm/mach-socfpga/clock_manager_arria10.c @@ -11,6 +11,7 @@ #include <clk.h> #include <dm/device-internal.h> #include <asm/arch/clock_manager.h> +#include <linux/delay.h> #ifdef CONFIG_SPL_BUILD diff --git a/arch/arm/mach-socfpga/freeze_controller.c b/arch/arm/mach-socfpga/freeze_controller.c index d48aeec..561d340 100644 --- a/arch/arm/mach-socfpga/freeze_controller.c +++ b/arch/arm/mach-socfpga/freeze_controller.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/clock_manager.h> #include <asm/arch/freeze_controller.h> +#include <linux/delay.h> #include <linux/errno.h> static const struct socfpga_freeze_controller *freeze_controller_base = diff --git a/arch/arm/mach-socfpga/scan_manager.c b/arch/arm/mach-socfpga/scan_manager.c index f7ee289..36d6880 100644 --- a/arch/arm/mach-socfpga/scan_manager.c +++ b/arch/arm/mach-socfpga/scan_manager.c @@ -9,6 +9,7 @@ #include <asm/arch/freeze_controller.h> #include <asm/arch/scan_manager.h> #include <asm/arch/system_manager.h> +#include <linux/delay.h> /* * Maximum polling loop to wait for IO scan chain engine becomes idle diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c index 5a16979..70940f0 100644 --- a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c +++ b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c @@ -11,6 +11,7 @@ #include <watchdog.h> #include <dm/lists.h> #include <dm/device-internal.h> +#include <linux/delay.h> #include "stm32prog.h" /* - configuration part -----------------------------*/ diff --git a/arch/arm/mach-sunxi/clock_sun6i.c b/arch/arm/mach-sunxi/clock_sun6i.c index 6ca38f7..b46083e 100644 --- a/arch/arm/mach-sunxi/clock_sun6i.c +++ b/arch/arm/mach-sunxi/clock_sun6i.c @@ -14,6 +14,7 @@ #include <asm/arch/clock.h> #include <asm/arch/prcm.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #ifdef CONFIG_SPL_BUILD void clock_init_safe(void) diff --git a/arch/arm/mach-sunxi/clock_sun8i_a83t.c b/arch/arm/mach-sunxi/clock_sun8i_a83t.c index a55a616..31e4281 100644 --- a/arch/arm/mach-sunxi/clock_sun8i_a83t.c +++ b/arch/arm/mach-sunxi/clock_sun8i_a83t.c @@ -14,6 +14,7 @@ #include <asm/arch/clock.h> #include <asm/arch/prcm.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #ifdef CONFIG_SPL_BUILD void clock_init_safe(void) diff --git a/arch/arm/mach-sunxi/dram_sun4i.c b/arch/arm/mach-sunxi/dram_sun4i.c index 72de807..76d6982 100644 --- a/arch/arm/mach-sunxi/dram_sun4i.c +++ b/arch/arm/mach-sunxi/dram_sun4i.c @@ -27,6 +27,7 @@ #include <asm/arch/dram.h> #include <asm/arch/timer.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #define CPU_CFG_CHIP_VER(n) ((n) << 6) #define CPU_CFG_CHIP_VER_MASK CPU_CFG_CHIP_VER(0x3) diff --git a/arch/arm/mach-sunxi/dram_sun50i_h6.c b/arch/arm/mach-sunxi/dram_sun50i_h6.c index 045e867..9e34da4 100644 --- a/arch/arm/mach-sunxi/dram_sun50i_h6.c +++ b/arch/arm/mach-sunxi/dram_sun50i_h6.c @@ -13,6 +13,7 @@ #include <asm/arch/dram.h> #include <asm/arch/cpu.h> #include <linux/bitops.h> +#include <linux/delay.h> #include <linux/kconfig.h> /* diff --git a/arch/arm/mach-sunxi/dram_sun6i.c b/arch/arm/mach-sunxi/dram_sun6i.c index 8e78126..0590110 100644 --- a/arch/arm/mach-sunxi/dram_sun6i.c +++ b/arch/arm/mach-sunxi/dram_sun6i.c @@ -16,6 +16,7 @@ #include <asm/arch/clock.h> #include <asm/arch/dram.h> #include <asm/arch/prcm.h> +#include <linux/delay.h> #define DRAM_CLK (CONFIG_DRAM_CLK * 1000000) diff --git a/arch/arm/mach-sunxi/dram_sun8i_a23.c b/arch/arm/mach-sunxi/dram_sun8i_a23.c index 221f928..3ed97b5 100644 --- a/arch/arm/mach-sunxi/dram_sun8i_a23.c +++ b/arch/arm/mach-sunxi/dram_sun8i_a23.c @@ -26,6 +26,7 @@ #include <asm/arch/clock.h> #include <asm/arch/dram.h> #include <asm/arch/prcm.h> +#include <linux/delay.h> static const struct dram_para dram_para = { .clock = CONFIG_DRAM_CLK, diff --git a/arch/arm/mach-sunxi/dram_sun8i_a33.c b/arch/arm/mach-sunxi/dram_sun8i_a33.c index 179acc7..d99a38b 100644 --- a/arch/arm/mach-sunxi/dram_sun8i_a33.c +++ b/arch/arm/mach-sunxi/dram_sun8i_a33.c @@ -14,6 +14,7 @@ #include <asm/arch/clock.h> #include <asm/arch/dram.h> #include <asm/arch/prcm.h> +#include <linux/delay.h> /* PLL runs at 2x dram-clk, controller runs at PLL / 4 (dram-clk / 2) */ #define DRAM_CLK_MUL 2 diff --git a/arch/arm/mach-sunxi/dram_sun8i_a83t.c b/arch/arm/mach-sunxi/dram_sun8i_a83t.c index 2febb23..a3f833d 100644 --- a/arch/arm/mach-sunxi/dram_sun8i_a83t.c +++ b/arch/arm/mach-sunxi/dram_sun8i_a83t.c @@ -14,6 +14,7 @@ #include <asm/arch/clock.h> #include <asm/arch/dram.h> #include <asm/arch/prcm.h> +#include <linux/delay.h> #define DRAM_CLK_MUL 2 #define DRAM_CLK_DIV 1 diff --git a/arch/arm/mach-sunxi/dram_sunxi_dw.c b/arch/arm/mach-sunxi/dram_sunxi_dw.c index 567cb5b..5d84798 100644 --- a/arch/arm/mach-sunxi/dram_sunxi_dw.c +++ b/arch/arm/mach-sunxi/dram_sunxi_dw.c @@ -15,6 +15,7 @@ #include <asm/arch/clock.h> #include <asm/arch/dram.h> #include <asm/arch/cpu.h> +#include <linux/delay.h> #include <linux/kconfig.h> static void mctl_phy_init(u32 val) diff --git a/arch/arm/mach-sunxi/spl_spi_sunxi.c b/arch/arm/mach-sunxi/spl_spi_sunxi.c index c084de7..d369df9 100644 --- a/arch/arm/mach-sunxi/spl_spi_sunxi.c +++ b/arch/arm/mach-sunxi/spl_spi_sunxi.c @@ -9,6 +9,7 @@ #include <spl.h> #include <asm/gpio.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/libfdt.h> #ifdef CONFIG_SPL_OS_BOOT diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index c4225b8..18c19db 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -18,6 +18,7 @@ #include <asm/arch-tegra/clk_rst.h> #include <asm/arch-tegra/pmc.h> #include <asm/arch-tegra/timer.h> +#include <linux/delay.h> /* * This is our record of the current clock rate of each clock. We don't diff --git a/arch/arm/mach-tegra/cmd_enterrcm.c b/arch/arm/mach-tegra/cmd_enterrcm.c index 110d441..25df31a 100644 --- a/arch/arm/mach-tegra/cmd_enterrcm.c +++ b/arch/arm/mach-tegra/cmd_enterrcm.c @@ -30,6 +30,7 @@ #include <irq_func.h> #include <asm/arch/tegra.h> #include <asm/arch-tegra/pmc.h> +#include <linux/delay.h> static int do_enterrcm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/arch/arm/mach-tegra/cpu.c b/arch/arm/mach-tegra/cpu.c index d12ebb3..65b15b7 100644 --- a/arch/arm/mach-tegra/cpu.c +++ b/arch/arm/mach-tegra/cpu.c @@ -13,6 +13,7 @@ #include <asm/arch-tegra/clk_rst.h> #include <asm/arch-tegra/pmc.h> #include <asm/arch-tegra/scu.h> +#include <linux/delay.h> #include "cpu.h" int get_num_cpus(void) diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index 761c9ef..631bc04e 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -5,6 +5,7 @@ #include <common.h> #include <errno.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/types.h> diff --git a/arch/arm/mach-tegra/tegra114/clock.c b/arch/arm/mach-tegra/tegra114/clock.c index 1c06865..167589d 100644 --- a/arch/arm/mach-tegra/tegra114/clock.c +++ b/arch/arm/mach-tegra/tegra114/clock.c @@ -17,6 +17,7 @@ #include <asm/arch-tegra/timer.h> #include <div64.h> #include <fdtdec.h> +#include <linux/delay.h> /* * Clock types that we can use as a source. The Tegra114 has muxes for the diff --git a/arch/arm/mach-tegra/tegra114/cpu.c b/arch/arm/mach-tegra/tegra114/cpu.c index 92ce3ce..62c1053 100644 --- a/arch/arm/mach-tegra/tegra114/cpu.c +++ b/arch/arm/mach-tegra/tegra114/cpu.c @@ -13,6 +13,7 @@ #include <asm/arch/tegra.h> #include <asm/arch-tegra/clk_rst.h> #include <asm/arch-tegra/pmc.h> +#include <linux/delay.h> #include "../cpu.h" /* Tegra114-specific CPU init code */ diff --git a/arch/arm/mach-tegra/tegra124/clock.c b/arch/arm/mach-tegra/tegra124/clock.c index 4359093..79e67f5 100644 --- a/arch/arm/mach-tegra/tegra124/clock.c +++ b/arch/arm/mach-tegra/tegra124/clock.c @@ -17,6 +17,7 @@ #include <asm/arch-tegra/timer.h> #include <div64.h> #include <fdtdec.h> +#include <linux/delay.h> /* * Clock types that we can use as a source. The Tegra124 has muxes for the diff --git a/arch/arm/mach-tegra/tegra124/cpu.c b/arch/arm/mach-tegra/tegra124/cpu.c index c9226af..d5f2683 100644 --- a/arch/arm/mach-tegra/tegra124/cpu.c +++ b/arch/arm/mach-tegra/tegra124/cpu.c @@ -15,6 +15,7 @@ #include <asm/arch-tegra/clk_rst.h> #include <asm/arch-tegra/pmc.h> #include <asm/arch-tegra/ap.h> +#include <linux/delay.h> #include "../cpu.h" /* Tegra124-specific CPU init code */ diff --git a/arch/arm/mach-tegra/tegra124/xusb-padctl.c b/arch/arm/mach-tegra/tegra124/xusb-padctl.c index 9a97c87..38afc3c 100644 --- a/arch/arm/mach-tegra/tegra124/xusb-padctl.c +++ b/arch/arm/mach-tegra/tegra124/xusb-padctl.c @@ -10,6 +10,7 @@ #include <log.h> #include <dm/of_access.h> #include <dm/ofnode.h> +#include <linux/delay.h> #include "../xusb-padctl-common.h" diff --git a/arch/arm/mach-tegra/tegra20/clock.c b/arch/arm/mach-tegra/tegra20/clock.c index 8e3ad2b..24e8a13 100644 --- a/arch/arm/mach-tegra/tegra20/clock.c +++ b/arch/arm/mach-tegra/tegra20/clock.c @@ -18,6 +18,7 @@ #include <asm/arch-tegra/timer.h> #include <div64.h> #include <fdtdec.h> +#include <linux/delay.h> /* * Clock types that we can use as a source. The Tegra20 has muxes for the diff --git a/arch/arm/mach-tegra/tegra20/cpu.c b/arch/arm/mach-tegra/tegra20/cpu.c index 2d14ac9..e5b6059 100644 --- a/arch/arm/mach-tegra/tegra20/cpu.c +++ b/arch/arm/mach-tegra/tegra20/cpu.c @@ -7,6 +7,7 @@ #include <asm/io.h> #include <asm/arch/tegra.h> #include <asm/arch-tegra/pmc.h> +#include <linux/delay.h> #include "../cpu.h" static void enable_cpu_power_rail(void) diff --git a/arch/arm/mach-tegra/tegra210/clock.c b/arch/arm/mach-tegra/tegra210/clock.c index 171c98d..4fe6df4 100644 --- a/arch/arm/mach-tegra/tegra210/clock.c +++ b/arch/arm/mach-tegra/tegra210/clock.c @@ -19,6 +19,7 @@ #include <asm/arch-tegra/timer.h> #include <div64.h> #include <fdtdec.h> +#include <linux/delay.h> /* * Clock types that we can use as a source. The Tegra210 has muxes for the diff --git a/arch/arm/mach-tegra/tegra210/xusb-padctl.c b/arch/arm/mach-tegra/tegra210/xusb-padctl.c index b75cc31..d160ce4 100644 --- a/arch/arm/mach-tegra/tegra210/xusb-padctl.c +++ b/arch/arm/mach-tegra/tegra210/xusb-padctl.c @@ -10,6 +10,7 @@ #include <log.h> #include <dm/of_access.h> #include <dm/ofnode.h> +#include <linux/delay.h> #include "../xusb-padctl-common.h" diff --git a/arch/arm/mach-tegra/tegra30/clock.c b/arch/arm/mach-tegra/tegra30/clock.c index 7a5c54d..b0641c6 100644 --- a/arch/arm/mach-tegra/tegra30/clock.c +++ b/arch/arm/mach-tegra/tegra30/clock.c @@ -17,6 +17,7 @@ #include <asm/arch-tegra/timer.h> #include <div64.h> #include <fdtdec.h> +#include <linux/delay.h> /* * Clock types that we can use as a source. The Tegra30 has muxes for the diff --git a/arch/arm/mach-tegra/tegra30/cpu.c b/arch/arm/mach-tegra/tegra30/cpu.c index 7bd1de1..651edd2 100644 --- a/arch/arm/mach-tegra/tegra30/cpu.c +++ b/arch/arm/mach-tegra/tegra30/cpu.c @@ -12,6 +12,7 @@ #include <asm/arch-tegra/clk_rst.h> #include <asm/arch-tegra/pmc.h> #include <asm/arch-tegra/tegra_i2c.h> +#include <linux/delay.h> #include "../cpu.h" /* Tegra30-specific CPU init code */ diff --git a/arch/arm/mach-uniphier/clk/clk-ld11.c b/arch/arm/mach-uniphier/clk/clk-ld11.c index 0917b33..94b9d90 100644 --- a/arch/arm/mach-uniphier/clk/clk-ld11.c +++ b/arch/arm/mach-uniphier/clk/clk-ld11.c @@ -6,6 +6,7 @@ #include <common.h> #include <spl.h> #include <linux/bitops.h> +#include <linux/delay.h> #include <linux/io.h> #include "../init.h" diff --git a/arch/arm/mach-uniphier/clk/dpll-ld4.c b/arch/arm/mach-uniphier/clk/dpll-ld4.c index 72fe8db..fd77aa7 100644 --- a/arch/arm/mach-uniphier/clk/dpll-ld4.c +++ b/arch/arm/mach-uniphier/clk/dpll-ld4.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/io.h> diff --git a/arch/arm/mach-uniphier/clk/dpll-pro4.c b/arch/arm/mach-uniphier/clk/dpll-pro4.c index 6259495..c86881d 100644 --- a/arch/arm/mach-uniphier/clk/dpll-pro4.c +++ b/arch/arm/mach-uniphier/clk/dpll-pro4.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/io.h> diff --git a/arch/arm/mach-uniphier/micro-support-card.c b/arch/arm/mach-uniphier/micro-support-card.c index f6e95ee..18435dc 100644 --- a/arch/arm/mach-uniphier/micro-support-card.c +++ b/arch/arm/mach-uniphier/micro-support-card.c @@ -11,6 +11,7 @@ #include <net.h> #include <dm/of.h> #include <linux/ctype.h> +#include <linux/delay.h> #include <linux/io.h> #include "micro-support-card.h" diff --git a/arch/arm/mach-zynqmp/mp.c b/arch/arm/mach-zynqmp/mp.c index 74ada3b..656678a 100644 --- a/arch/arm/mach-zynqmp/mp.c +++ b/arch/arm/mach-zynqmp/mp.c @@ -10,6 +10,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <asm/io.h> +#include <linux/delay.h> #define LOCK 0 #define SPLIT 1 diff --git a/arch/arm/mach-zynqmp/psu_spl_init.c b/arch/arm/mach-zynqmp/psu_spl_init.c index b6abdfd..5c5c7d1 100644 --- a/arch/arm/mach-zynqmp/psu_spl_init.c +++ b/arch/arm/mach-zynqmp/psu_spl_init.c @@ -7,6 +7,7 @@ #include <common.h> #include <asm/io.h> #include <asm/arch/psu_init_gpl.h> +#include <linux/delay.h> #define PSU_MASK_POLL_TIME 1100000 diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index fd0c122..9dd61e2 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -10,6 +10,7 @@ #include <init.h> #include <log.h> #include <spl.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/spl.h> diff --git a/arch/m68k/cpu/mcf5227x/cpu.c b/arch/m68k/cpu/mcf5227x/cpu.c index 200c53e..5ea6158 100644 --- a/arch/m68k/cpu/mcf5227x/cpu.c +++ b/arch/m68k/cpu/mcf5227x/cpu.c @@ -13,6 +13,7 @@ #include <vsprintf.h> #include <watchdog.h> #include <command.h> +#include <linux/delay.h> #include <asm/immap.h> #include <asm/io.h> diff --git a/arch/m68k/cpu/mcf52x2/cpu.c b/arch/m68k/cpu/mcf52x2/cpu.c index 8c91e0e..d3d4e30 100644 --- a/arch/m68k/cpu/mcf52x2/cpu.c +++ b/arch/m68k/cpu/mcf52x2/cpu.c @@ -22,6 +22,7 @@ #include <asm/immap.h> #include <asm/io.h> #include <netdev.h> +#include <linux/delay.h> #include "cpu.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/m68k/cpu/mcf52x2/speed.c b/arch/m68k/cpu/mcf52x2/speed.c index 02ef5d8..751c83a 100644 --- a/arch/m68k/cpu/mcf52x2/speed.c +++ b/arch/m68k/cpu/mcf52x2/speed.c @@ -12,6 +12,7 @@ #include <asm/processor.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/m68k/cpu/mcf532x/cpu.c b/arch/m68k/cpu/mcf532x/cpu.c index 87b77f4..72bfdf0 100644 --- a/arch/m68k/cpu/mcf532x/cpu.c +++ b/arch/m68k/cpu/mcf532x/cpu.c @@ -15,6 +15,7 @@ #include <watchdog.h> #include <command.h> #include <netdev.h> +#include <linux/delay.h> #include <asm/immap.h> #include <asm/io.h> diff --git a/arch/m68k/cpu/mcf5445x/cpu.c b/arch/m68k/cpu/mcf5445x/cpu.c index 2608fdd..886f29d 100644 --- a/arch/m68k/cpu/mcf5445x/cpu.c +++ b/arch/m68k/cpu/mcf5445x/cpu.c @@ -15,6 +15,7 @@ #include <watchdog.h> #include <command.h> #include <netdev.h> +#include <linux/delay.h> #include <asm/immap.h> #include <asm/io.h> diff --git a/arch/m68k/cpu/mcf5445x/pci.c b/arch/m68k/cpu/mcf5445x/pci.c index 09bd745..af02c49 100644 --- a/arch/m68k/cpu/mcf5445x/pci.c +++ b/arch/m68k/cpu/mcf5445x/pci.c @@ -11,6 +11,7 @@ #include <pci.h> #include <asm/io.h> #include <asm/immap.h> +#include <linux/delay.h> #if defined(CONFIG_PCI) /* System RAM mapped over PCI */ diff --git a/arch/m68k/cpu/mcf547x_8x/pci.c b/arch/m68k/cpu/mcf547x_8x/pci.c index ac42cca..74ba681 100644 --- a/arch/m68k/cpu/mcf547x_8x/pci.c +++ b/arch/m68k/cpu/mcf547x_8x/pci.c @@ -11,6 +11,7 @@ #include <pci.h> #include <asm/io.h> #include <asm/immap.h> +#include <linux/delay.h> #if defined(CONFIG_PCI) /* System RAM mapped over PCI */ diff --git a/arch/m68k/cpu/mcf547x_8x/slicetimer.c b/arch/m68k/cpu/mcf547x_8x/slicetimer.c index c4988f9..33b4cff 100644 --- a/arch/m68k/cpu/mcf547x_8x/slicetimer.c +++ b/arch/m68k/cpu/mcf547x_8x/slicetimer.c @@ -7,6 +7,7 @@ #include <common.h> #include <init.h> #include <irq_func.h> +#include <linux/delay.h> #include <asm/timer.h> #include <asm/immap.h> diff --git a/arch/m68k/lib/time.c b/arch/m68k/lib/time.c index eab6e20..a3eb6db 100644 --- a/arch/m68k/lib/time.c +++ b/arch/m68k/lib/time.c @@ -10,6 +10,7 @@ #include <init.h> #include <irq_func.h> #include <time.h> +#include <linux/delay.h> #include <asm/timer.h> #include <asm/immap.h> diff --git a/arch/microblaze/cpu/timer.c b/arch/microblaze/cpu/timer.c index cd4aba6..1b46173 100644 --- a/arch/microblaze/cpu/timer.c +++ b/arch/microblaze/cpu/timer.c @@ -12,6 +12,7 @@ #include <time.h> #include <asm/microblaze_timer.h> #include <asm/microblaze_intc.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/mips/mach-ath79/ar934x/clk.c b/arch/mips/mach-ath79/ar934x/clk.c index 5d0d455..bb972b3 100644 --- a/arch/mips/mach-ath79/ar934x/clk.c +++ b/arch/mips/mach-ath79/ar934x/clk.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/addrspace.h> #include <asm/types.h> +#include <linux/delay.h> #include <mach/ar71xx_regs.h> #include <mach/ath79.h> #include <wait_bit.h> diff --git a/arch/mips/mach-ath79/ar934x/ddr.c b/arch/mips/mach-ath79/ar934x/ddr.c index 289973e..9c5a6b6 100644 --- a/arch/mips/mach-ath79/ar934x/ddr.c +++ b/arch/mips/mach-ath79/ar934x/ddr.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/addrspace.h> #include <asm/types.h> +#include <linux/delay.h> #include <mach/ar71xx_regs.h> #include <mach/ath79.h> diff --git a/arch/mips/mach-ath79/qca953x/ddr.c b/arch/mips/mach-ath79/qca953x/ddr.c index 268da73..3a009bb 100644 --- a/arch/mips/mach-ath79/qca953x/ddr.c +++ b/arch/mips/mach-ath79/qca953x/ddr.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/addrspace.h> #include <asm/types.h> +#include <linux/delay.h> #include <mach/ar71xx_regs.h> #include <mach/ath79.h> diff --git a/arch/mips/mach-ath79/qca956x/ddr.c b/arch/mips/mach-ath79/qca956x/ddr.c index fb22304..e61a368 100644 --- a/arch/mips/mach-ath79/qca956x/ddr.c +++ b/arch/mips/mach-ath79/qca956x/ddr.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/addrspace.h> #include <asm/types.h> +#include <linux/delay.h> #include <mach/ar71xx_regs.h> #include <mach/ath79.h> diff --git a/arch/mips/mach-ath79/reset.c b/arch/mips/mach-ath79/reset.c index 0ab3ab6..62330a6 100644 --- a/arch/mips/mach-ath79/reset.c +++ b/arch/mips/mach-ath79/reset.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/addrspace.h> diff --git a/arch/mips/mach-jz47xx/jz4780/pll.c b/arch/mips/mach-jz47xx/jz4780/pll.c index 9a46198..43827d1 100644 --- a/arch/mips/mach-jz47xx/jz4780/pll.c +++ b/arch/mips/mach-jz47xx/jz4780/pll.c @@ -9,6 +9,7 @@ #include <config.h> #include <common.h> #include <asm/io.h> +#include <linux/delay.h> #include <mach/jz4780.h> #define CPM_CPCCR 0x00 diff --git a/arch/mips/mach-jz47xx/jz4780/sdram.c b/arch/mips/mach-jz47xx/jz4780/sdram.c index 3049a63..efbb82f 100644 --- a/arch/mips/mach-jz47xx/jz4780/sdram.c +++ b/arch/mips/mach-jz47xx/jz4780/sdram.c @@ -13,6 +13,7 @@ #include <hang.h> #include <init.h> #include <asm/io.h> +#include <linux/delay.h> #include <mach/jz4780.h> #include <mach/jz4780_dram.h> diff --git a/arch/mips/mach-jz47xx/jz4780/timer.c b/arch/mips/mach-jz47xx/jz4780/timer.c index 340e35e..70db74d 100644 --- a/arch/mips/mach-jz47xx/jz4780/timer.c +++ b/arch/mips/mach-jz47xx/jz4780/timer.c @@ -14,6 +14,7 @@ #include <time.h> #include <asm/io.h> #include <asm/mipsregs.h> +#include <linux/delay.h> #include <mach/jz4780.h> #define TCU_TSR 0x1C /* Timer Stop Register */ diff --git a/arch/mips/mach-mtmips/ddr_init.c b/arch/mips/mach-mtmips/ddr_init.c index cd355cc..6c6d093 100644 --- a/arch/mips/mach-mtmips/ddr_init.c +++ b/arch/mips/mach-mtmips/ddr_init.c @@ -7,6 +7,7 @@ #include <common.h> #include <linux/bitops.h> +#include <linux/delay.h> #include <linux/io.h> #include <linux/sizes.h> #include <mach/ddr.h> diff --git a/arch/mips/mach-mtmips/mt7628/ddr.c b/arch/mips/mach-mtmips/mt7628/ddr.c index 06c0ca6..3df85cd 100644 --- a/arch/mips/mach-mtmips/mt7628/ddr.c +++ b/arch/mips/mach-mtmips/mt7628/ddr.c @@ -8,6 +8,7 @@ #include <common.h> #include <asm/addrspace.h> #include <linux/bitops.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <linux/io.h> #include <mach/ddr.h> diff --git a/arch/nds32/cpu/n1213/ag101/timer.c b/arch/nds32/cpu/n1213/ag101/timer.c index 8208b6d..394fc10 100644 --- a/arch/nds32/cpu/n1213/ag101/timer.c +++ b/arch/nds32/cpu/n1213/ag101/timer.c @@ -15,6 +15,7 @@ #include <time.h> #include <asm/io.h> #include <faraday/fttmr010.h> +#include <linux/delay.h> static ulong timestamp; static ulong lastdec; diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c index 0307039..cefbcf6 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu.c +++ b/arch/powerpc/cpu/mpc83xx/cpu.c @@ -19,6 +19,7 @@ #include <command.h> #include <mpc83xx.h> #include <asm/processor.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <tsec.h> #include <netdev.h> diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c index 4defe98..438b14b 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c @@ -12,6 +12,7 @@ #ifdef CONFIG_USB_EHCI_FSL #include <usb/ehci-ci.h> #endif +#include <linux/delay.h> #include "lblaw/lblaw.h" #include "elbc/elbc.h" diff --git a/arch/powerpc/cpu/mpc83xx/pci.c b/arch/powerpc/cpu/mpc83xx/pci.c index a183ed6..74f824d 100644 --- a/arch/powerpc/cpu/mpc83xx/pci.c +++ b/arch/powerpc/cpu/mpc83xx/pci.c @@ -9,6 +9,7 @@ #include <common.h> #include <init.h> #include <pci.h> +#include <linux/delay.h> #if defined(CONFIG_OF_LIBFDT) #include <linux/libfdt.h> diff --git a/arch/powerpc/cpu/mpc83xx/pcie.c b/arch/powerpc/cpu/mpc83xx/pcie.c index b500ddd..785d480 100644 --- a/arch/powerpc/cpu/mpc83xx/pcie.c +++ b/arch/powerpc/cpu/mpc83xx/pcie.c @@ -11,6 +11,7 @@ #include <pci.h> #include <mpc83xx.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc83xx/serdes.c b/arch/powerpc/cpu/mpc83xx/serdes.c index 8242f95..bb963ee 100644 --- a/arch/powerpc/cpu/mpc83xx/serdes.c +++ b/arch/powerpc/cpu/mpc83xx/serdes.c @@ -14,6 +14,7 @@ #include <common.h> #include <asm/io.h> #include <asm/fsl_mpc83xx_serdes.h> +#include <linux/delay.h> /* SerDes registers */ #define FSL_SRDSCR0_OFFS 0x0 diff --git a/arch/powerpc/cpu/mpc83xx/spd_sdram.c b/arch/powerpc/cpu/mpc83xx/spd_sdram.c index 34faff2..c28e442 100644 --- a/arch/powerpc/cpu/mpc83xx/spd_sdram.c +++ b/arch/powerpc/cpu/mpc83xx/spd_sdram.c @@ -23,6 +23,7 @@ #include <spd.h> #include <asm/mmu.h> #include <spd_sdram.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c index 8de2186..9bd573d 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu.c +++ b/arch/powerpc/cpu/mpc85xx/cpu.c @@ -29,6 +29,7 @@ #include <asm/processor.h> #include <fsl_ddr_sdram.h> #include <asm/ppc.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index 1c2d8ed..4bca267 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c @@ -33,6 +33,7 @@ #include <fsl_usb.h> #include <hwconfig.h> #include <linux/compiler.h> +#include <linux/delay.h> #include "mp.h" #ifdef CONFIG_CHAIN_OF_TRUST #include <fsl_validate.h> diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c index 796bc15..ee5015e 100644 --- a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c +++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/processor.h> #include <asm/fsl_law.h> +#include <linux/delay.h> #include <linux/errno.h> #include <fsl_errata.h> #include "fsl_corenet2_serdes.h" diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c index e6d4707..f5126e2 100644 --- a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c +++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c @@ -15,6 +15,7 @@ #include <asm/io.h> #include <asm/processor.h> #include <asm/fsl_law.h> +#include <linux/delay.h> #include <linux/errno.h> #include "fsl_corenet_serdes.h" diff --git a/arch/powerpc/cpu/mpc85xx/mp.c b/arch/powerpc/cpu/mpc85xx/mp.c index 28e1580..8822cf2 100644 --- a/arch/powerpc/cpu/mpc85xx/mp.c +++ b/arch/powerpc/cpu/mpc85xx/mp.c @@ -15,6 +15,7 @@ #include <asm/mmu.h> #include <asm/fsl_law.h> #include <fsl_ddr_sdram.h> +#include <linux/delay.h> #include "mp.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc85xx/p1021_serdes.c b/arch/powerpc/cpu/mpc85xx/p1021_serdes.c index 1a7c839..6b8e447 100644 --- a/arch/powerpc/cpu/mpc85xx/p1021_serdes.c +++ b/arch/powerpc/cpu/mpc85xx/p1021_serdes.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/immap_85xx.h> #include <asm/fsl_serdes.h> +#include <linux/delay.h> typedef struct serdes_85xx { u32 srdscr0; /* 0x00 - SRDS Control Register 0 */ diff --git a/arch/powerpc/cpu/mpc85xx/spl_minimal.c b/arch/powerpc/cpu/mpc85xx/spl_minimal.c index 972049b..21b35db 100644 --- a/arch/powerpc/cpu/mpc85xx/spl_minimal.c +++ b/arch/powerpc/cpu/mpc85xx/spl_minimal.c @@ -8,6 +8,7 @@ #include <asm/global_data.h> #include <fsl_ifc.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc8xxx/srio.c b/arch/powerpc/cpu/mpc8xxx/srio.c index 17b1174..c73cf93 100644 --- a/arch/powerpc/cpu/mpc8xxx/srio.c +++ b/arch/powerpc/cpu/mpc8xxx/srio.c @@ -10,6 +10,7 @@ #include <asm/fsl_law.h> #include <asm/fsl_serdes.h> #include <asm/fsl_srio.h> +#include <linux/delay.h> #include <linux/errno.h> #ifdef CONFIG_SRIO_PCIE_BOOT_MASTER diff --git a/arch/powerpc/lib/time.c b/arch/powerpc/lib/time.c index 58931f0..8d6babf 100644 --- a/arch/powerpc/lib/time.c +++ b/arch/powerpc/lib/time.c @@ -8,6 +8,7 @@ #include <init.h> #include <time.h> #include <asm/io.h> +#include <linux/delay.h> /* ------------------------------------------------------------------------- */ diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 0d93007..fb857e5 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -9,6 +9,7 @@ #include <dm.h> #include <errno.h> #include <log.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <os.h> #include <asm/io.h> diff --git a/arch/sh/lib/time_sh2.c b/arch/sh/lib/time_sh2.c index ef7c607..5484c54 100644 --- a/arch/sh/lib/time_sh2.c +++ b/arch/sh/lib/time_sh2.c @@ -12,6 +12,7 @@ #include <time.h> #include <asm/io.h> #include <asm/processor.h> +#include <linux/delay.h> #define CMT_CMCSR_INIT 0x0001 /* PCLK/32 */ #define CMT_CMCSR_CALIB 0x0000 diff --git a/arch/x86/cpu/apollolake/punit.c b/arch/x86/cpu/apollolake/punit.c index 600c5ea..e76f280 100644 --- a/arch/x86/cpu/apollolake/punit.c +++ b/arch/x86/cpu/apollolake/punit.c @@ -13,6 +13,7 @@ #include <asm/io.h> #include <asm/pci.h> #include <asm/arch/systemagent.h> +#include <linux/delay.h> /* * Punit Initialisation code. This all isn't documented, but diff --git a/arch/x86/cpu/broadwell/cpu_full.c b/arch/x86/cpu/broadwell/cpu_full.c index 1208790..64a1cd4 100644 --- a/arch/x86/cpu/broadwell/cpu_full.c +++ b/arch/x86/cpu/broadwell/cpu_full.c @@ -20,6 +20,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/pch.h> #include <asm/arch/rcb.h> +#include <linux/delay.h> struct cpu_broadwell_priv { bool ht_disabled; diff --git a/arch/x86/cpu/broadwell/iobp.c b/arch/x86/cpu/broadwell/iobp.c index 8a3ca6c..cb5595c 100644 --- a/arch/x86/cpu/broadwell/iobp.c +++ b/arch/x86/cpu/broadwell/iobp.c @@ -10,6 +10,7 @@ #include <asm/intel_regs.h> #include <asm/io.h> #include <asm/arch/pch.h> +#include <linux/delay.h> #define IOBP_RETRY 1000 diff --git a/arch/x86/cpu/broadwell/me.c b/arch/x86/cpu/broadwell/me.c index 7991e1e..ae16ce2 100644 --- a/arch/x86/cpu/broadwell/me.c +++ b/arch/x86/cpu/broadwell/me.c @@ -9,6 +9,7 @@ #include <errno.h> #include <log.h> #include <asm/arch/me.h> +#include <linux/delay.h> static inline void me_read_dword_ptr(struct udevice *dev, void *ptr, int offset) { diff --git a/arch/x86/cpu/broadwell/pch.c b/arch/x86/cpu/broadwell/pch.c index 8c71e43..9bcf211 100644 --- a/arch/x86/cpu/broadwell/pch.c +++ b/arch/x86/cpu/broadwell/pch.c @@ -24,6 +24,7 @@ #include <asm/arch/serialio.h> #include <asm/arch/spi.h> #include <dm/uclass-internal.h> +#include <linux/delay.h> #define BIOS_CTRL 0xdc diff --git a/arch/x86/cpu/broadwell/sata.c b/arch/x86/cpu/broadwell/sata.c index 9f3c56b..641da51 100644 --- a/arch/x86/cpu/broadwell/sata.c +++ b/arch/x86/cpu/broadwell/sata.c @@ -15,6 +15,7 @@ #include <asm/pch_common.h> #include <asm/pch_common.h> #include <asm/arch/pch.h> +#include <linux/delay.h> struct sata_platdata { int port_map; diff --git a/arch/x86/cpu/ivybridge/bd82x6x.c b/arch/x86/cpu/ivybridge/bd82x6x.c index d276cbe..d72c0d6 100644 --- a/arch/x86/cpu/ivybridge/bd82x6x.c +++ b/arch/x86/cpu/ivybridge/bd82x6x.c @@ -18,6 +18,7 @@ #include <asm/arch/model_206ax.h> #include <asm/arch/pch.h> #include <asm/arch/sandybridge.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/ivybridge/early_me.c b/arch/x86/cpu/ivybridge/early_me.c index cae9578..bee1671 100644 --- a/arch/x86/cpu/ivybridge/early_me.c +++ b/arch/x86/cpu/ivybridge/early_me.c @@ -16,6 +16,7 @@ #include <asm/arch/me.h> #include <asm/arch/pch.h> #include <asm/io.h> +#include <linux/delay.h> static const char *const me_ack_values[] = { [ME_HFS_ACK_NO_DID] = "No DID Ack received", diff --git a/arch/x86/cpu/ivybridge/northbridge.c b/arch/x86/cpu/ivybridge/northbridge.c index 877b31b..b713fcb 100644 --- a/arch/x86/cpu/ivybridge/northbridge.c +++ b/arch/x86/cpu/ivybridge/northbridge.c @@ -18,6 +18,7 @@ #include <asm/arch/pch.h> #include <asm/arch/model_206ax.h> #include <asm/arch/sandybridge.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c index c3cd080..7fde4ff 100644 --- a/arch/x86/cpu/mp_init.c +++ b/arch/x86/cpu/mp_init.c @@ -26,6 +26,7 @@ #include <dm/uclass-internal.h> #include <dm/lists.h> #include <dm/root.h> +#include <linux/delay.h> #include <linux/linkage.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/quark/quark.c b/arch/x86/cpu/quark/quark.c index e2e2d9f..ddad02e 100644 --- a/arch/x86/cpu/quark/quark.c +++ b/arch/x86/cpu/quark/quark.c @@ -18,6 +18,7 @@ #include <asm/arch/device.h> #include <asm/arch/msg_port.h> #include <asm/arch/quark.h> +#include <linux/delay.h> static void quark_setup_mtrr(void) { diff --git a/arch/x86/lib/pmu.c b/arch/x86/lib/pmu.c index 08fbe99..3cd7b1f 100644 --- a/arch/x86/lib/pmu.c +++ b/arch/x86/lib/pmu.c @@ -8,6 +8,7 @@ #include <syscon.h> #include <asm/cpu.h> #include <asm/pmu.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/io.h> diff --git a/arch/x86/lib/scu.c b/arch/x86/lib/scu.c index a6f8297..41e6739 100644 --- a/arch/x86/lib/scu.c +++ b/arch/x86/lib/scu.c @@ -15,6 +15,7 @@ #include <syscon.h> #include <asm/cpu.h> #include <asm/scu.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/io.h> #include <linux/kernel.h> diff --git a/arch/xtensa/lib/time.c b/arch/xtensa/lib/time.c index 62bbe37..3a02c38 100644 --- a/arch/xtensa/lib/time.c +++ b/arch/xtensa/lib/time.c @@ -6,6 +6,7 @@ #include <common.h> #include <time.h> #include <asm/global_data.h> +#include <linux/delay.h> #include <linux/stringify.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/BuR/common/br_resetc.c b/board/BuR/common/br_resetc.c index 70ad832..5006687 100644 --- a/board/BuR/common/br_resetc.c +++ b/board/BuR/common/br_resetc.c @@ -10,6 +10,7 @@ #include <errno.h> #include <i2c.h> #include <dm/uclass.h> +#include <linux/delay.h> #include "br_resetc.h" /* I2C Address of controller */ diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c index 7986bc8..3bc1d06 100644 --- a/board/BuR/common/common.c +++ b/board/BuR/common/common.c @@ -15,6 +15,7 @@ #include <fdtdec.h> #include <i2c.h> #include <lcd.h> +#include <linux/delay.h> #include "bur_common.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/CZ.NIC/turris_mox/mox_sp.c b/board/CZ.NIC/turris_mox/mox_sp.c index 3c23471..8139345 100644 --- a/board/CZ.NIC/turris_mox/mox_sp.c +++ b/board/CZ.NIC/turris_mox/mox_sp.c @@ -6,6 +6,7 @@ #include <common.h> #include <asm/arch/soc.h> #include <asm/io.h> +#include <linux/delay.h> #define RWTM_BASE (MVEBU_REGISTER(0xb0000)) #define RWTM_CMD_PARAM(i) (size_t)(RWTM_BASE + (i) * 4) diff --git a/board/CZ.NIC/turris_mox/turris_mox.c b/board/CZ.NIC/turris_mox/turris_mox.c index e8ec240..f3c3996 100644 --- a/board/CZ.NIC/turris_mox/turris_mox.c +++ b/board/CZ.NIC/turris_mox/turris_mox.c @@ -14,6 +14,7 @@ #include <env.h> #include <fdt_support.h> #include <init.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <linux/string.h> #include <miiphy.h> diff --git a/board/CarMediaLab/flea3/flea3.c b/board/CarMediaLab/flea3/flea3.c index fb66c9e..61d965f 100644 --- a/board/CarMediaLab/flea3/flea3.c +++ b/board/CarMediaLab/flea3/flea3.c @@ -11,6 +11,7 @@ #include <init.h> #include <asm/io.h> #include <env.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/imx-regs.h> #include <asm/arch/crm_regs.h> diff --git a/board/Marvell/gplugd/gplugd.c b/board/Marvell/gplugd/gplugd.c index 459b7ba..1e2f227 100644 --- a/board/Marvell/gplugd/gplugd.c +++ b/board/Marvell/gplugd/gplugd.c @@ -21,6 +21,7 @@ #include <asm/gpio.h> #include <miiphy.h> #include <asm/mach-types.h> +#include <linux/delay.h> #ifdef CONFIG_ARMADA100_FEC #include <net.h> diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c index 29bd6a9..9bea198 100644 --- a/board/Marvell/mvebu_armada-37xx/board.c +++ b/board/Marvell/mvebu_armada-37xx/board.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/Marvell/mvebu_armada-8k/board.c b/board/Marvell/mvebu_armada-8k/board.c index 499e893..60b0024 100644 --- a/board/Marvell/mvebu_armada-8k/board.c +++ b/board/Marvell/mvebu_armada-8k/board.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/Synology/ds109/ds109.c b/board/Synology/ds109/ds109.c index c4cd95c..aa2987d 100644 --- a/board/Synology/ds109/ds109.c +++ b/board/Synology/ds109/ds109.c @@ -13,6 +13,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h> +#include <linux/delay.h> #include "ds109.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/advantech/dms-ba16/dms-ba16.c b/board/advantech/dms-ba16/dms-ba16.c index 33e0e4a..28e505e 100644 --- a/board/advantech/dms-ba16/dms-ba16.c +++ b/board/advantech/dms-ba16/dms-ba16.c @@ -11,6 +11,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/mxc_i2c.h> diff --git a/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c b/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c index 6168dc9..ea057d2 100644 --- a/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c +++ b/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c @@ -9,6 +9,7 @@ #include <env.h> #include <errno.h> #include <init.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c index b96cf0b..982cb15 100644 --- a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c +++ b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c @@ -7,6 +7,7 @@ #include <common.h> #include <init.h> #include <net.h> +#include <linux/delay.h> #include <linux/io.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/armadeus/apf27/fpga.c b/board/armadeus/apf27/fpga.c index 5d989481..9e2f39f 100644 --- a/board/armadeus/apf27/fpga.c +++ b/board/armadeus/apf27/fpga.c @@ -10,6 +10,7 @@ */ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <asm/arch/imx-regs.h> #include <asm/gpio.h> diff --git a/board/armltd/integrator/pci.c b/board/armltd/integrator/pci.c index 3ef5993..28efc33 100644 --- a/board/armltd/integrator/pci.c +++ b/board/armltd/integrator/pci.c @@ -25,6 +25,7 @@ #include <pci.h> #include <asm/io.h> #include <linux/bug.h> +#include <linux/delay.h> #include "integrator-sc.h" #include "pci_v3.h" diff --git a/board/armltd/integrator/timer.c b/board/armltd/integrator/timer.c index d701669..d220b87 100644 --- a/board/armltd/integrator/timer.c +++ b/board/armltd/integrator/timer.c @@ -19,6 +19,7 @@ #include <common.h> #include <div64.h> #include <time.h> +#include <linux/delay.h> #ifdef CONFIG_ARCH_CINTEGRATOR #define DIV_CLOCK_INIT 1 @@ -124,7 +125,7 @@ ulong get_timer (ulong base_ticks) } /* delay usec useconds */ -void __udelay (unsigned long usec) +void __udelay(unsigned long usec) { ulong tmo, tmp; diff --git a/board/armltd/vexpress64/pcie.c b/board/armltd/vexpress64/pcie.c index 3285a33..02de58b 100644 --- a/board/armltd/vexpress64/pcie.c +++ b/board/armltd/vexpress64/pcie.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <linux/bitops.h> #include <pci_ids.h> +#include <linux/delay.h> #include "pcie.h" /* XpressRICH3 support */ diff --git a/board/astro/mcf5373l/mcf5373l.c b/board/astro/mcf5373l/mcf5373l.c index 9adf58e..e7c2b90 100644 --- a/board/astro/mcf5373l/mcf5373l.c +++ b/board/astro/mcf5373l/mcf5373l.c @@ -13,6 +13,7 @@ #include <asm/m5329.h> #include <asm/immap_5329.h> #include <asm/io.h> +#include <linux/delay.h> /* needed for astro bus: */ #include <asm/uart.h> diff --git a/board/barco/platinum/platinum_picon.c b/board/barco/platinum/platinum_picon.c index 7d99b16..3fc29f9 100644 --- a/board/barco/platinum/platinum_picon.c +++ b/board/barco/platinum/platinum_picon.c @@ -14,6 +14,7 @@ #include <asm/mach-imx/mxc_i2c.h> #include <i2c.h> #include <miiphy.h> +#include <linux/delay.h> #include "platinum.h" diff --git a/board/barco/platinum/platinum_titanium.c b/board/barco/platinum/platinum_titanium.c index 5758c14..9f7c93b 100644 --- a/board/barco/platinum/platinum_titanium.c +++ b/board/barco/platinum/platinum_titanium.c @@ -12,6 +12,7 @@ #include <asm/mach-imx/mxc_i2c.h> #include <miiphy.h> #include <micrel.h> +#include <linux/delay.h> #include "platinum.h" diff --git a/board/barco/titanium/titanium.c b/board/barco/titanium/titanium.c index 016e0ad..91c70a8 100644 --- a/board/barco/titanium/titanium.c +++ b/board/barco/titanium/titanium.c @@ -22,6 +22,7 @@ #include <micrel.h> #include <miiphy.h> #include <netdev.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/beckhoff/mx53cx9020/mx53cx9020.c b/board/beckhoff/mx53cx9020/mx53cx9020.c index 398e4ed..617b545 100644 --- a/board/beckhoff/mx53cx9020/mx53cx9020.c +++ b/board/beckhoff/mx53cx9020/mx53cx9020.c @@ -16,6 +16,7 @@ #include <asm/mach-imx/mx5_video.h> #include <ACEX1K.h> #include <asm/gpio.h> +#include <linux/delay.h> enum LED_GPIOS { GPIO_SD1_CD = IMX_GPIO_NR(1, 1), diff --git a/board/bluewater/gurnard/gurnard.c b/board/bluewater/gurnard/gurnard.c index 4ae70e1..2bbb203 100644 --- a/board/bluewater/gurnard/gurnard.c +++ b/board/bluewater/gurnard/gurnard.c @@ -33,6 +33,7 @@ #include <asm/arch/clk.h> #include <asm/arch/gpio.h> #include <dm/uclass-internal.h> +#include <linux/delay.h> #ifdef CONFIG_GURNARD_SPLASH #include "splash_logo.h" diff --git a/board/bluewater/snapper9260/snapper9260.c b/board/bluewater/snapper9260/snapper9260.c index 47ce307..8e2b7e0 100644 --- a/board/bluewater/snapper9260/snapper9260.c +++ b/board/bluewater/snapper9260/snapper9260.c @@ -23,6 +23,7 @@ #include <netdev.h> #include <i2c.h> #include <pca953x.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/bosch/shc/board.c b/board/bosch/shc/board.c index 6e0ad4b..6a102d3 100644 --- a/board/bosch/shc/board.c +++ b/board/bosch/shc/board.c @@ -35,6 +35,7 @@ #include <i2c.h> #include <miiphy.h> #include <cpsw.h> +#include <linux/delay.h> #include <power/tps65217.h> #include <env_internal.h> #include <watchdog.h> diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 92a7a2f..d49725d 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -16,6 +16,7 @@ #include <asm/arch/sys_proto.h> #include <malloc.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/bticino/mamoj/spl.c b/board/bticino/mamoj/spl.c index ece3780..a9bb2a5 100644 --- a/board/bticino/mamoj/spl.c +++ b/board/bticino/mamoj/spl.c @@ -9,6 +9,7 @@ #include <init.h> #include <serial.h> #include <spl.h> +#include <linux/delay.h> #include <asm/io.h> #include <linux/sizes.h> diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index 712ef11..64daa45 100644 --- a/board/buffalo/lsxl/lsxl.c +++ b/board/buffalo/lsxl/lsxl.c @@ -24,6 +24,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/mpp.h> #include <asm/arch/gpio.h> +#include <linux/delay.h> #include "lsxl.h" diff --git a/board/ccv/xpress/xpress.c b/board/ccv/xpress/xpress.c index dc86d43..e41f063 100644 --- a/board/ccv/xpress/xpress.c +++ b/board/ccv/xpress/xpress.c @@ -25,6 +25,7 @@ #include <mmc.h> #include <netdev.h> #include <usb.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c index 5860cd0..4337f48 100644 --- a/board/cobra5272/flash.c +++ b/board/cobra5272/flash.c @@ -10,6 +10,7 @@ #include <flash.h> #include <irq_func.h> #include <uuid.h> +#include <linux/delay.h> #define PHYS_FLASH_1 CONFIG_SYS_FLASH_BASE #define FLASH_BANK_SIZE 0x200000 @@ -235,7 +236,7 @@ int flash_erase(flash_info_t *info, int s_first, int s_last) outahere: /* allow flash to settle - wait 10 ms */ - udelay (10000); + mdelay(10); if (iflag) enable_interrupts(); diff --git a/board/compulab/cl-som-imx7/cl-som-imx7.c b/board/compulab/cl-som-imx7/cl-som-imx7.c index e97efc1..8b3bd5e 100644 --- a/board/compulab/cl-som-imx7/cl-som-imx7.c +++ b/board/compulab/cl-som-imx7/cl-som-imx7.c @@ -15,6 +15,7 @@ #include <phy.h> #include <netdev.h> #include <fsl_esdhc_imx.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/pfuze3000_pmic.h> #include <asm/mach-imx/mxc_i2c.h> diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index f0a821d..4d71bed 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -35,6 +35,7 @@ #include <dm/platform_data/serial_mxc.h> #include <dm/device-internal.h> #include <jffs2/load_kernel.h> +#include <linux/delay.h> #include "common.h" #include "../common/eeprom.h" #include "../common/common.h" diff --git a/board/compulab/cm_fx6/spl.c b/board/compulab/cm_fx6/spl.c index 592d741..7d82435 100644 --- a/board/compulab/cm_fx6/spl.c +++ b/board/compulab/cm_fx6/spl.c @@ -20,6 +20,7 @@ #include <asm/arch/crm_regs.h> #include <asm/mach-imx/iomux-v3.h> #include <fsl_esdhc_imx.h> +#include <linux/delay.h> #include "common.h" enum ddr_config { diff --git a/board/compulab/cm_t335/cm_t335.c b/board/compulab/cm_t335/cm_t335.c index 4497aa5..75b56f7 100644 --- a/board/compulab/cm_t335/cm_t335.c +++ b/board/compulab/cm_t335/cm_t335.c @@ -14,6 +14,7 @@ #include <net.h> #include <status_led.h> #include <cpsw.h> +#include <linux/delay.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware_am33xx.h> diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c index b714712..4b67df4 100644 --- a/board/compulab/cm_t35/cm_t35.c +++ b/board/compulab/cm_t35/cm_t35.c @@ -23,6 +23,7 @@ #include <splash.h> #include <twl4030.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <asm/io.h> #include <linux/errno.h> diff --git a/board/compulab/cm_t43/cm_t43.c b/board/compulab/cm_t43/cm_t43.c index 9348d6d..f26e42b 100644 --- a/board/compulab/cm_t43/cm_t43.c +++ b/board/compulab/cm_t43/cm_t43.c @@ -11,6 +11,7 @@ #include <asm/gpio.h> #include <asm/arch/sys_proto.h> #include <asm/emif.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/tps65218.h> #include "board.h" diff --git a/board/compulab/cm_t54/cm_t54.c b/board/compulab/cm_t54/cm_t54.c index 0efbf76..413f3c9 100644 --- a/board/compulab/cm_t54/cm_t54.c +++ b/board/compulab/cm_t54/cm_t54.c @@ -15,6 +15,7 @@ #include <mmc.h> #include <palmas.h> #include <spl.h> +#include <linux/delay.h> #include <asm/gpio.h> #include <asm/arch/sys_proto.h> diff --git a/board/compulab/common/common.c b/board/compulab/common/common.c index 2f92c65..528c97d 100644 --- a/board/compulab/common/common.c +++ b/board/compulab/common/common.c @@ -10,6 +10,7 @@ #include <asm/bootm.h> #include <asm/gpio.h> #include <asm/setup.h> +#include <linux/delay.h> #include "common.h" #include "eeprom.h" diff --git a/board/compulab/common/omap3_smc911x.c b/board/compulab/common/omap3_smc911x.c index 4b869ec..f0d3652 100644 --- a/board/compulab/common/omap3_smc911x.c +++ b/board/compulab/common/omap3_smc911x.c @@ -7,6 +7,7 @@ #include <common.h> #include <netdev.h> +#include <linux/delay.h> #include <asm/io.h> #include <linux/errno.h> diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c index 16f655f..044cefd 100644 --- a/board/congatec/cgtqmx6eval/cgtqmx6eval.c +++ b/board/congatec/cgtqmx6eval/cgtqmx6eval.c @@ -27,6 +27,7 @@ #include <fsl_esdhc_imx.h> #include <i2c.h> #include <input.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/pfuze100_pmic.h> #include <linux/fb.h> diff --git a/board/creative/xfi3/xfi3.c b/board/creative/xfi3/xfi3.c index 4a32893..adc9081 100644 --- a/board/creative/xfi3/xfi3.c +++ b/board/creative/xfi3/xfi3.c @@ -19,6 +19,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/cssi/MCR3000/MCR3000.c b/board/cssi/MCR3000/MCR3000.c index 138d0c6..570e846 100644 --- a/board/cssi/MCR3000/MCR3000.c +++ b/board/cssi/MCR3000/MCR3000.c @@ -17,6 +17,7 @@ #include <asm/io.h> #include <dm/uclass.h> #include <wdt.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/dfi/dfi-bt700/dfi-bt700.c b/board/dfi/dfi-bt700/dfi-bt700.c index 68d7cd8..87506a7 100644 --- a/board/dfi/dfi-bt700/dfi-bt700.c +++ b/board/dfi/dfi-bt700/dfi-bt700.c @@ -10,6 +10,7 @@ #include <asm/gpio.h> #include <asm/ibmpc.h> #include <asm/pnp_def.h> +#include <linux/delay.h> int board_early_init_f(void) { diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c index 4df293b..8f50433 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -32,6 +32,7 @@ #include <i2c_eeprom.h> #include <mmc.h> #include <usb.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c index fd6099c..ed4dea4 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6_spl.c +++ b/board/dhelectronics/dh_imx6/dh_imx6_spl.c @@ -25,6 +25,7 @@ #include <i2c.h> #include <mmc.h> #include <spl.h> +#include <linux/delay.h> #define ENET_PAD_CTRL \ (PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm | \ diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c index 144d1cb..c7d316e 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -32,6 +32,7 @@ #include <mtd_node.h> #include <netdev.h> #include <phy.h> +#include <linux/delay.h> #include <power/regulator.h> #include <remoteproc.h> #include <reset.h> diff --git a/board/egnite/ethernut5/ethernut5_pwrman.c b/board/egnite/ethernut5/ethernut5_pwrman.c index 7dbb6e8..81f1abf 100644 --- a/board/egnite/ethernut5/ethernut5_pwrman.c +++ b/board/egnite/ethernut5/ethernut5_pwrman.c @@ -38,6 +38,7 @@ #include <asm/arch/gpio.h> #include <asm/io.h> #include <i2c.h> +#include <linux/delay.h> #include "ethernut5_pwrman.h" diff --git a/board/el/el6x/el6x.c b/board/el/el6x/el6x.c index 286c1ad..d3e2981 100644 --- a/board/el/el6x/el6x.c +++ b/board/el/el6x/el6x.c @@ -13,6 +13,7 @@ #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> #include <env.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/mxc_i2c.h> diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index 50b6f98..e0834f0 100644 --- a/board/embest/mx6boards/mx6boards.c +++ b/board/embest/mx6boards/mx6boards.c @@ -20,6 +20,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c index 62b0678..6a06124 100644 --- a/board/engicam/common/spl.c +++ b/board/engicam/common/spl.c @@ -10,6 +10,7 @@ #include <init.h> #include <serial.h> #include <spl.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/board/esd/vme8349/pci.c b/board/esd/vme8349/pci.c index 349e7b5..bf51d39 100644 --- a/board/esd/vme8349/pci.c +++ b/board/esd/vme8349/pci.c @@ -18,6 +18,7 @@ #include <pci.h> #include <i2c.h> #include <asm/fsl_i2c.h> +#include <linux/delay.h> #include "vme8349pin.h" static struct pci_region pci1_regions[] = { diff --git a/board/freescale/b4860qds/b4860qds.c b/board/freescale/b4860qds/b4860qds.c index eed379a..e10f948 100644 --- a/board/freescale/b4860qds/b4860qds.c +++ b/board/freescale/b4860qds/b4860qds.c @@ -16,6 +16,7 @@ #include <linux/compiler.h> #include <asm/mmu.h> #include <asm/processor.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/cache.h> #include <asm/immap_85xx.h> diff --git a/board/freescale/bsc9131rdb/spl_minimal.c b/board/freescale/bsc9131rdb/spl_minimal.c index 79df0f3..4ae9ba0 100644 --- a/board/freescale/bsc9131rdb/spl_minimal.c +++ b/board/freescale/bsc9131rdb/spl_minimal.c @@ -12,6 +12,7 @@ #include <asm/fsl_law.h> #include <fsl_ddr_sdram.h> #include <asm/global_data.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/bsc9132qds/spl_minimal.c b/board/freescale/bsc9132qds/spl_minimal.c index dc72b2e..dd56ad6 100644 --- a/board/freescale/bsc9132qds/spl_minimal.c +++ b/board/freescale/bsc9132qds/spl_minimal.c @@ -12,6 +12,7 @@ #include <asm/fsl_law.h> #include <fsl_ddr_sdram.h> #include <asm/global_data.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/c29xpcie/cpld.c b/board/freescale/c29xpcie/cpld.c index b864a60..826af42 100644 --- a/board/freescale/c29xpcie/cpld.c +++ b/board/freescale/c29xpcie/cpld.c @@ -17,6 +17,7 @@ #include <common.h> #include <command.h> #include <asm/io.h> +#include <linux/delay.h> #include "cpld.h" /** diff --git a/board/freescale/common/diu_ch7301.c b/board/freescale/common/diu_ch7301.c index 7f11123..02a2718 100644 --- a/board/freescale/common/diu_ch7301.c +++ b/board/freescale/common/diu_ch7301.c @@ -12,6 +12,7 @@ #include <common.h> #include <stdio_dev.h> #include <i2c.h> +#include <linux/delay.h> #define I2C_DVI_INPUT_DATA_FORMAT_REG 0x1F #define I2C_DVI_PLL_CHARGE_CNTL_REG 0x33 diff --git a/board/freescale/common/idt8t49n222a_serdes_clk.c b/board/freescale/common/idt8t49n222a_serdes_clk.c index faa7f87..bb3cdac 100644 --- a/board/freescale/common/idt8t49n222a_serdes_clk.c +++ b/board/freescale/common/idt8t49n222a_serdes_clk.c @@ -6,6 +6,7 @@ #include "idt8t49n222a_serdes_clk.h" #include <log.h> +#include <linux/delay.h> #define DEVICE_ID_REG 0x00 diff --git a/board/freescale/common/sys_eeprom.c b/board/freescale/common/sys_eeprom.c index b342105..728245d 100644 --- a/board/freescale/common/sys_eeprom.c +++ b/board/freescale/common/sys_eeprom.c @@ -12,6 +12,7 @@ #include <i2c.h> #include <init.h> #include <linux/ctype.h> +#include <linux/delay.h> #include <u-boot/crc.h> #ifdef CONFIG_SYS_I2C_EEPROM_CCID diff --git a/board/freescale/common/vid.c b/board/freescale/common/vid.c index 0bad67e..ed0d9b4 100644 --- a/board/freescale/common/vid.c +++ b/board/freescale/common/vid.c @@ -17,6 +17,7 @@ #else #include <asm/immap_85xx.h> #endif +#include <linux/delay.h> #include "vid.h" int __weak i2c_multiplexer_select_vid_channel(u8 channel) diff --git a/board/freescale/corenet_ds/eth_p4080.c b/board/freescale/corenet_ds/eth_p4080.c index 5892bbd..801a6f4 100644 --- a/board/freescale/corenet_ds/eth_p4080.c +++ b/board/freescale/corenet_ds/eth_p4080.c @@ -22,6 +22,7 @@ #include <fsl_mdio.h> #include <miiphy.h> #include <phy.h> +#include <linux/delay.h> #include "../common/ngpixis.h" #include "../common/fman.h" diff --git a/board/freescale/imx8mq_evk/spl.c b/board/freescale/imx8mq_evk/spl.c index 99ebad2..2c6ae48 100644 --- a/board/freescale/imx8mq_evk/spl.c +++ b/board/freescale/imx8mq_evk/spl.c @@ -22,6 +22,7 @@ #include <asm/mach-imx/mxc_i2c.h> #include <fsl_esdhc_imx.h> #include <mmc.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/pfuze100_pmic.h> #include <spl.h> diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c index dc9ffaa..8b8a3c6 100644 --- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c +++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c @@ -8,6 +8,7 @@ #include <env.h> #include <errno.h> #include <init.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fsl_esdhc_imx.h> #include <fdt_support.h> diff --git a/board/freescale/ls1012afrdm/eth.c b/board/freescale/ls1012afrdm/eth.c index bd1df09..eaea1c4 100644 --- a/board/freescale/ls1012afrdm/eth.c +++ b/board/freescale/ls1012afrdm/eth.c @@ -18,6 +18,7 @@ #include <asm/arch-fsl-layerscape/config.h> #include <asm/arch-fsl-layerscape/immap_lsch2.h> #include <asm/arch/fsl_serdes.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> #include <dm/platform_data/pfe_dm_eth.h> diff --git a/board/freescale/ls1012aqds/eth.c b/board/freescale/ls1012aqds/eth.c index b901844..b4ef607 100644 --- a/board/freescale/ls1012aqds/eth.c +++ b/board/freescale/ls1012aqds/eth.c @@ -17,6 +17,7 @@ #include <asm/arch-fsl-layerscape/config.h> #include <asm/arch-fsl-layerscape/immap_lsch2.h> #include <asm/arch/fsl_serdes.h> +#include <linux/delay.h> #include "../common/qixis.h" #include <net/pfe_eth/pfe_eth.h> #include <dm/platform_data/pfe_dm_eth.h> diff --git a/board/freescale/ls1012ardb/eth.c b/board/freescale/ls1012ardb/eth.c index 5edcfcf..63d40de 100644 --- a/board/freescale/ls1012ardb/eth.c +++ b/board/freescale/ls1012ardb/eth.c @@ -18,6 +18,7 @@ #include <asm/arch-fsl-layerscape/config.h> #include <asm/arch-fsl-layerscape/immap_lsch2.h> #include <asm/arch/fsl_serdes.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> #include <dm/platform_data/pfe_dm_eth.h> #include <i2c.h> diff --git a/board/freescale/ls1021aiot/ls1021aiot.c b/board/freescale/ls1021aiot/ls1021aiot.c index dca60b7..fe97b82 100644 --- a/board/freescale/ls1021aiot/ls1021aiot.c +++ b/board/freescale/ls1021aiot/ls1021aiot.c @@ -12,6 +12,7 @@ #include <asm/arch/clock.h> #include <asm/arch/fsl_serdes.h> #include <asm/arch/ls102xa_stream_id.h> +#include <linux/delay.h> #include <asm/arch/ls102xa_devdis.h> #include <asm/arch/ls102xa_soc.h> diff --git a/board/freescale/ls1021aqds/ddr.c b/board/freescale/ls1021aqds/ddr.c index 5c53882..f84bce9 100644 --- a/board/freescale/ls1021aqds/ddr.c +++ b/board/freescale/ls1021aqds/ddr.c @@ -10,6 +10,7 @@ #include <log.h> #include <asm/io.h> #include <asm/arch/clock.h> +#include <linux/delay.h> #include "ddr.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/ls1021atsn/ls1021atsn.c b/board/freescale/ls1021atsn/ls1021atsn.c index 0f94099..b05037d 100644 --- a/board/freescale/ls1021atsn/ls1021atsn.c +++ b/board/freescale/ls1021atsn/ls1021atsn.c @@ -11,6 +11,7 @@ #include <asm/arch/immap_ls102xa.h> #include <asm/arch/ls102xa_soc.h> #include <asm/arch/fsl_serdes.h> +#include <linux/delay.h> #include "../common/sleep.h" #include <fsl_validate.h> #include <fsl_immap.h> diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c index c7f7baa..6208a38 100644 --- a/board/freescale/ls1021atwr/ls1021atwr.c +++ b/board/freescale/ls1021atwr/ls1021atwr.c @@ -28,6 +28,7 @@ #include <fsl_sec.h> #include <fsl_devdis.h> #include <spl.h> +#include <linux/delay.h> #include "../common/sleep.h" #ifdef CONFIG_U_QE #include <fsl_qe.h> diff --git a/board/freescale/ls1088a/eth_ls1088aqds.c b/board/freescale/ls1088a/eth_ls1088aqds.c index f42b502..8371c1c 100644 --- a/board/freescale/ls1088a/eth_ls1088aqds.c +++ b/board/freescale/ls1088a/eth_ls1088aqds.c @@ -20,6 +20,7 @@ #include <miiphy.h> #include <fsl-mc/fsl_mc.h> #include <fsl-mc/ldpaa_wriop.h> +#include <linux/delay.h> #include "../common/qixis.h" diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 974a43a..3f758ce 100644 --- a/board/freescale/ls1088a/ls1088a.c +++ b/board/freescale/ls1088a/ls1088a.c @@ -15,6 +15,7 @@ #include <fsl_sec.h> #include <asm/io.h> #include <fdt_support.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fsl-mc/fsl_mc.h> #include <env_internal.h> diff --git a/board/freescale/ls2080aqds/eth.c b/board/freescale/ls2080aqds/eth.c index df8a7c7..81b5b9e 100644 --- a/board/freescale/ls2080aqds/eth.c +++ b/board/freescale/ls2080aqds/eth.c @@ -18,6 +18,7 @@ #include <miiphy.h> #include <fsl-mc/fsl_mc.h> #include <fsl-mc/ldpaa_wriop.h> +#include <linux/delay.h> #include "../common/qixis.h" diff --git a/board/freescale/m5208evbe/m5208evbe.c b/board/freescale/m5208evbe/m5208evbe.c index e448a64..a950030 100644 --- a/board/freescale/m5208evbe/m5208evbe.c +++ b/board/freescale/m5208evbe/m5208evbe.c @@ -12,6 +12,7 @@ #include <init.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m52277evb/m52277evb.c b/board/freescale/m52277evb/m52277evb.c index a4b795f..144e490 100644 --- a/board/freescale/m52277evb/m52277evb.c +++ b/board/freescale/m52277evb/m52277evb.c @@ -11,6 +11,7 @@ #include <init.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m5249evb/m5249evb.c b/board/freescale/m5249evb/m5249evb.c index da3adc5..a89d510 100644 --- a/board/freescale/m5249evb/m5249evb.c +++ b/board/freescale/m5249evb/m5249evb.c @@ -9,6 +9,7 @@ #include <init.h> #include <malloc.h> #include <asm/immap.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m5253demo/m5253demo.c b/board/freescale/m5253demo/m5253demo.c index 6a6c65f..50eb18b 100644 --- a/board/freescale/m5253demo/m5253demo.c +++ b/board/freescale/m5253demo/m5253demo.c @@ -13,6 +13,7 @@ #include <asm/immap.h> #include <netdev.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m53017evb/m53017evb.c b/board/freescale/m53017evb/m53017evb.c index 8bdb4ad..f13b693 100644 --- a/board/freescale/m53017evb/m53017evb.c +++ b/board/freescale/m53017evb/m53017evb.c @@ -12,6 +12,7 @@ #include <init.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m5329evb/m5329evb.c b/board/freescale/m5329evb/m5329evb.c index d93800b..531894f 100644 --- a/board/freescale/m5329evb/m5329evb.c +++ b/board/freescale/m5329evb/m5329evb.c @@ -12,6 +12,7 @@ #include <init.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m5373evb/m5373evb.c b/board/freescale/m5373evb/m5373evb.c index 1d52ce0..29ff55f 100644 --- a/board/freescale/m5373evb/m5373evb.c +++ b/board/freescale/m5373evb/m5373evb.c @@ -12,6 +12,7 @@ #include <init.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m54418twr/m54418twr.c b/board/freescale/m54418twr/m54418twr.c index 8c90cfe..a418fba 100644 --- a/board/freescale/m54418twr/m54418twr.c +++ b/board/freescale/m54418twr/m54418twr.c @@ -11,6 +11,7 @@ #include <asm/immap.h> #include <mmc.h> #include <fsl_esdhc_imx.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m54451evb/m54451evb.c b/board/freescale/m54451evb/m54451evb.c index 82a2b90..1298bd3 100644 --- a/board/freescale/m54451evb/m54451evb.c +++ b/board/freescale/m54451evb/m54451evb.c @@ -12,6 +12,7 @@ #include <spi.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m54455evb/m54455evb.c b/board/freescale/m54455evb/m54455evb.c index 146cd91..2863006 100644 --- a/board/freescale/m54455evb/m54455evb.c +++ b/board/freescale/m54455evb/m54455evb.c @@ -12,6 +12,7 @@ #include <pci.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m547xevb/m547xevb.c b/board/freescale/m547xevb/m547xevb.c index e8d8611..908a500 100644 --- a/board/freescale/m547xevb/m547xevb.c +++ b/board/freescale/m547xevb/m547xevb.c @@ -13,6 +13,7 @@ #include <pci.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m548xevb/m548xevb.c b/board/freescale/m548xevb/m548xevb.c index 40e01c6..796b808 100644 --- a/board/freescale/m548xevb/m548xevb.c +++ b/board/freescale/m548xevb/m548xevb.c @@ -13,6 +13,7 @@ #include <pci.h> #include <asm/immap.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/mpc8308rdb/mpc8308rdb.c b/board/freescale/mpc8308rdb/mpc8308rdb.c index bd052b9..259d6aa 100644 --- a/board/freescale/mpc8308rdb/mpc8308rdb.c +++ b/board/freescale/mpc8308rdb/mpc8308rdb.c @@ -10,6 +10,7 @@ #include <init.h> #include <net.h> #include <spi.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <pci.h> diff --git a/board/freescale/mpc8313erdb/sdram.c b/board/freescale/mpc8313erdb/sdram.c index 5874e1a..99f6bcd 100644 --- a/board/freescale/mpc8313erdb/sdram.c +++ b/board/freescale/mpc8313erdb/sdram.c @@ -11,6 +11,7 @@ #include <init.h> #include <mpc83xx.h> #include <spd_sdram.h> +#include <linux/delay.h> #include <asm/bitops.h> #include <asm/io.h> diff --git a/board/freescale/mpc8315erdb/mpc8315erdb.c b/board/freescale/mpc8315erdb/mpc8315erdb.c index 204b40b..aa2e7fe 100644 --- a/board/freescale/mpc8315erdb/mpc8315erdb.c +++ b/board/freescale/mpc8315erdb/mpc8315erdb.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <init.h> #include <net.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <pci.h> diff --git a/board/freescale/mpc8315erdb/sdram.c b/board/freescale/mpc8315erdb/sdram.c index 13bfc1e..8a82820 100644 --- a/board/freescale/mpc8315erdb/sdram.c +++ b/board/freescale/mpc8315erdb/sdram.c @@ -11,6 +11,7 @@ #include <init.h> #include <mpc83xx.h> #include <spd_sdram.h> +#include <linux/delay.h> #include <asm/bitops.h> #include <asm/io.h> diff --git a/board/freescale/mpc8323erdb/mpc8323erdb.c b/board/freescale/mpc8323erdb/mpc8323erdb.c index e513d0b..1dc1c98 100644 --- a/board/freescale/mpc8323erdb/mpc8323erdb.c +++ b/board/freescale/mpc8323erdb/mpc8323erdb.c @@ -19,6 +19,7 @@ #include <i2c.h> #include <miiphy.h> #include <command.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <u-boot/crc.h> #if defined(CONFIG_PCI) diff --git a/board/freescale/mpc832xemds/mpc832xemds.c b/board/freescale/mpc832xemds/mpc832xemds.c index d4922fe..afcd457 100644 --- a/board/freescale/mpc832xemds/mpc832xemds.c +++ b/board/freescale/mpc832xemds/mpc832xemds.c @@ -23,6 +23,7 @@ #if defined(CONFIG_PQ_MDS_PIB) #include "../common/pq-mds-pib.h" #endif +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/mpc832xemds/pci.c b/board/freescale/mpc832xemds/pci.c index 45c7294..944108f 100644 --- a/board/freescale/mpc832xemds/pci.c +++ b/board/freescale/mpc832xemds/pci.c @@ -14,6 +14,7 @@ #include <pci.h> #include <i2c.h> #include <asm/fsl_i2c.h> +#include <linux/delay.h> #include "../common/pq-mds-pib.h" static struct pci_region pci1_regions[] = { diff --git a/board/freescale/mpc8349emds/mpc8349emds.c b/board/freescale/mpc8349emds/mpc8349emds.c index 5451437..688bffa 100644 --- a/board/freescale/mpc8349emds/mpc8349emds.c +++ b/board/freescale/mpc8349emds/mpc8349emds.c @@ -18,6 +18,7 @@ #else #include <spd_sdram.h> #endif +#include <linux/delay.h> #if defined(CONFIG_OF_LIBFDT) #include <linux/libfdt.h> diff --git a/board/freescale/mpc8349emds/pci.c b/board/freescale/mpc8349emds/pci.c index 7615a1d..3ddbe71 100644 --- a/board/freescale/mpc8349emds/pci.c +++ b/board/freescale/mpc8349emds/pci.c @@ -11,6 +11,7 @@ #include <pci.h> #include <i2c.h> #include <asm/fsl_i2c.h> +#include <linux/delay.h> static struct pci_region pci1_regions[] = { { diff --git a/board/freescale/mpc8349itx/mpc8349itx.c b/board/freescale/mpc8349itx/mpc8349itx.c index 3976f75..074f3d2 100644 --- a/board/freescale/mpc8349itx/mpc8349itx.c +++ b/board/freescale/mpc8349itx/mpc8349itx.c @@ -21,6 +21,7 @@ #if defined(CONFIG_OF_LIBFDT) #include <linux/libfdt.h> #endif +#include <linux/delay.h> #include "../../../arch/powerpc/cpu/mpc83xx/hrcw/hrcw.h" #include "../../../arch/powerpc/cpu/mpc83xx/elbc/elbc.h" diff --git a/board/freescale/mpc8349itx/pci.c b/board/freescale/mpc8349itx/pci.c index 550a2af..a09b658 100644 --- a/board/freescale/mpc8349itx/pci.c +++ b/board/freescale/mpc8349itx/pci.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <linux/delay.h> #include <asm/mmu.h> #include <asm/io.h> diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c index 90e9539..d53c861 100644 --- a/board/freescale/mpc837xemds/mpc837xemds.c +++ b/board/freescale/mpc837xemds/mpc837xemds.c @@ -13,6 +13,7 @@ #include <asm/fsl_mpc83xx_serdes.h> #include <spd_sdram.h> #include <tsec.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <fsl_esdhc.h> diff --git a/board/freescale/mpc837xemds/pci.c b/board/freescale/mpc837xemds/pci.c index c72e49f..30e8b25 100644 --- a/board/freescale/mpc837xemds/pci.c +++ b/board/freescale/mpc837xemds/pci.c @@ -14,6 +14,7 @@ #include <fdt_support.h> #include <asm/fsl_i2c.h> #include <asm/fsl_mpc83xx_serdes.h> +#include <linux/delay.h> static struct pci_region pci_regions[] = { { diff --git a/board/freescale/mpc837xerdb/mpc837xerdb.c b/board/freescale/mpc837xerdb/mpc837xerdb.c index 45038ac..3fd2c5e 100644 --- a/board/freescale/mpc837xerdb/mpc837xerdb.c +++ b/board/freescale/mpc837xerdb/mpc837xerdb.c @@ -16,6 +16,7 @@ #include <spd_sdram.h> #include <vsc7385.h> #include <fsl_esdhc.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/mpc837xerdb/pci.c b/board/freescale/mpc837xerdb/pci.c index 07471e0..dccf8c5 100644 --- a/board/freescale/mpc837xerdb/pci.c +++ b/board/freescale/mpc837xerdb/pci.c @@ -8,6 +8,7 @@ #include <mpc83xx.h> #include <pci.h> #include <asm/io.h> +#include <linux/delay.h> static struct pci_region pci_regions[] = { { diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index 582c5b4..5907a7b 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/board/freescale/mpc8536ds/mpc8536ds.c @@ -19,6 +19,7 @@ #include <asm/fsl_serdes.h> #include <spd.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <spd_sdram.h> #include <fdt_support.h> diff --git a/board/freescale/mpc8541cds/mpc8541cds.c b/board/freescale/mpc8541cds/mpc8541cds.c index cb130b4..d470fd1 100644 --- a/board/freescale/mpc8541cds/mpc8541cds.c +++ b/board/freescale/mpc8541cds/mpc8541cds.c @@ -15,6 +15,7 @@ #include <fsl_ddr_sdram.h> #include <ioports.h> #include <spd_sdram.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index 454da1d..e11ed2e 100644 --- a/board/freescale/mpc8548cds/mpc8548cds.c +++ b/board/freescale/mpc8548cds/mpc8548cds.c @@ -17,6 +17,7 @@ #include <fsl_ddr_sdram.h> #include <asm/fsl_serdes.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <tsec.h> diff --git a/board/freescale/mpc8555cds/mpc8555cds.c b/board/freescale/mpc8555cds/mpc8555cds.c index 47193dd..8e27e73 100644 --- a/board/freescale/mpc8555cds/mpc8555cds.c +++ b/board/freescale/mpc8555cds/mpc8555cds.c @@ -13,6 +13,7 @@ #include <fsl_ddr_sdram.h> #include <ioports.h> #include <spd_sdram.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/freescale/mpc8568mds/mpc8568mds.c b/board/freescale/mpc8568mds/mpc8568mds.c index 4746b1e..2871636 100644 --- a/board/freescale/mpc8568mds/mpc8568mds.c +++ b/board/freescale/mpc8568mds/mpc8568mds.c @@ -19,6 +19,7 @@ #include <spd_sdram.h> #include <i2c.h> #include <ioports.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/freescale/mpc8569mds/mpc8569mds.c b/board/freescale/mpc8569mds/mpc8569mds.c index 762b0c1..90b9c72 100644 --- a/board/freescale/mpc8569mds/mpc8569mds.c +++ b/board/freescale/mpc8569mds/mpc8569mds.c @@ -23,6 +23,7 @@ #include <spd_sdram.h> #include <i2c.h> #include <ioports.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <fsl_esdhc.h> diff --git a/board/freescale/mpc8572ds/mpc8572ds.c b/board/freescale/mpc8572ds/mpc8572ds.c index 38c8bfd..b43032c 100644 --- a/board/freescale/mpc8572ds/mpc8572ds.c +++ b/board/freescale/mpc8572ds/mpc8572ds.c @@ -20,6 +20,7 @@ #include <asm/io.h> #include <asm/fsl_serdes.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <tsec.h> diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index cf02d37..c060fd9 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c @@ -16,6 +16,7 @@ #include <asm/fsl_serdes.h> #include <i2c.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <spd_sdram.h> diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c index 3f07035..cd505df 100644 --- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c +++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c @@ -14,6 +14,7 @@ #include <fsl_ddr_sdram.h> #include <asm/fsl_serdes.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <netdev.h> diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c index 6898e9c..ec56acb 100644 --- a/board/freescale/mx25pdk/mx25pdk.c +++ b/board/freescale/mx25pdk/mx25pdk.c @@ -15,6 +15,7 @@ #include <mmc.h> #include <fsl_esdhc_imx.h> #include <i2c.h> +#include <linux/delay.h> #include <power/pmic.h> #include <fsl_pmic.h> #include <mc34704.h> diff --git a/board/freescale/mx28evk/mx28evk.c b/board/freescale/mx28evk/mx28evk.c index 4272bac..e50b7db 100644 --- a/board/freescale/mx28evk/mx28evk.c +++ b/board/freescale/mx28evk/mx28evk.c @@ -20,6 +20,7 @@ #include <asm/arch/iomux-mx28.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #include <linux/mii.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c index dda20ee..63fea37 100644 --- a/board/freescale/mx35pdk/mx35pdk.c +++ b/board/freescale/mx35pdk/mx35pdk.c @@ -9,6 +9,7 @@ #include <init.h> #include <net.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/imx-regs.h> #include <asm/arch/crm_regs.h> diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index 3314bad..46037ac 100644 --- a/board/freescale/mx51evk/mx51evk.c +++ b/board/freescale/mx51evk/mx51evk.c @@ -9,6 +9,7 @@ #include <asm/gpio.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux-mx51.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/arch/crm_regs.h> diff --git a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c index d01c74d..522b840 100644 --- a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c +++ b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c @@ -17,6 +17,7 @@ #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/boot_mode.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <common.h> #include <fsl_esdhc_imx.h> diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index a2c2782..b092ea8 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -18,6 +18,7 @@ #include <asm/io.h> #include <asm/mach-imx/mxc_i2c.h> #include <env.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <common.h> #include <fsl_esdhc_imx.h> diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index afc9f6e..b03c9c9 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -22,6 +22,7 @@ #include <fsl_esdhc_imx.h> #include <i2c.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <mmc.h> #include <netdev.h> diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index 6d6763d..f12e9d4 100644 --- a/board/freescale/mx7dsabresd/mx7dsabresd.c +++ b/board/freescale/mx7dsabresd/mx7dsabresd.c @@ -12,6 +12,7 @@ #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <common.h> #include <fsl_esdhc_imx.h> diff --git a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c index 59c57e4..1353deb 100644 --- a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +++ b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c @@ -25,6 +25,7 @@ #include <asm/fsl_lbc.h> #include <asm/mp.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <fsl_mdio.h> diff --git a/board/freescale/t102xqds/ddr.c b/board/freescale/t102xqds/ddr.c index ba589d4..c27cecd 100644 --- a/board/freescale/t102xqds/ddr.c +++ b/board/freescale/t102xqds/ddr.c @@ -13,6 +13,7 @@ #include <fsl_ddr_dimm_params.h> #include <asm/fsl_law.h> #include <asm/mpc85xx_gpio.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/t102xrdb/ddr.c b/board/freescale/t102xrdb/ddr.c index c389865..3640a47 100644 --- a/board/freescale/t102xrdb/ddr.c +++ b/board/freescale/t102xrdb/ddr.c @@ -13,6 +13,7 @@ #include <fsl_ddr_dimm_params.h> #include <asm/fsl_law.h> #include <asm/mpc85xx_gpio.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/t1040qds/ddr.c b/board/freescale/t1040qds/ddr.c index f7eef5c..0a817d0 100644 --- a/board/freescale/t1040qds/ddr.c +++ b/board/freescale/t1040qds/ddr.c @@ -13,6 +13,7 @@ #include <fsl_ddr_dimm_params.h> #include <asm/fsl_law.h> #include <asm/mpc85xx_gpio.h> +#include <linux/delay.h> #include "ddr.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/t104xrdb/ddr.c b/board/freescale/t104xrdb/ddr.c index c9d8e1f..e313bf9 100644 --- a/board/freescale/t104xrdb/ddr.c +++ b/board/freescale/t104xrdb/ddr.c @@ -13,6 +13,7 @@ #include <fsl_ddr_dimm_params.h> #include <asm/fsl_law.h> #include <asm/mpc85xx_gpio.h> +#include <linux/delay.h> #include "ddr.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/t4qds/t4240qds.c b/board/freescale/t4qds/t4240qds.c index 670c487..8d1a66f 100644 --- a/board/freescale/t4qds/t4240qds.c +++ b/board/freescale/t4qds/t4240qds.c @@ -23,6 +23,7 @@ #include <asm/fsl_serdes.h> #include <asm/fsl_liodn.h> #include <fm_eth.h> +#include <linux/delay.h> #include "../common/qixis.h" #include "../common/vsc3316_3308.h" diff --git a/board/gardena/smart-gateway-mt7688/board.c b/board/gardena/smart-gateway-mt7688/board.c index a75bb1f..8a3a6e3 100644 --- a/board/gardena/smart-gateway-mt7688/board.c +++ b/board/gardena/smart-gateway-mt7688/board.c @@ -15,6 +15,7 @@ #include <net.h> #include <spi.h> #include <spi_flash.h> +#include <linux/delay.h> #include <linux/stringify.h> #include <u-boot/crc.h> #include <uuid.h> diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c index b7e0691..1a35249 100644 --- a/board/gateworks/gw_ventana/common.c +++ b/board/gateworks/gw_ventana/common.c @@ -15,6 +15,7 @@ #include <env.h> #include <fsl_esdhc_imx.h> #include <hwconfig.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/ltc3676_pmic.h> #include <power/pfuze100_pmic.h> diff --git a/board/gateworks/gw_ventana/eeprom.c b/board/gateworks/gw_ventana/eeprom.c index ae46716..a5a151d 100644 --- a/board/gateworks/gw_ventana/eeprom.c +++ b/board/gateworks/gw_ventana/eeprom.c @@ -12,6 +12,7 @@ #include <log.h> #include <malloc.h> #include <asm/bitops.h> +#include <linux/delay.h> #include "gsc.h" #include "ventana_eeprom.h" diff --git a/board/gateworks/gw_ventana/gsc.c b/board/gateworks/gw_ventana/gsc.c index 4179f0f..bcb6bca 100644 --- a/board/gateworks/gw_ventana/gsc.c +++ b/board/gateworks/gw_ventana/gsc.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <log.h> +#include <linux/delay.h> #include <linux/errno.h> #include <common.h> #include <i2c.h> diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index acbd200..649e622 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -35,6 +35,7 @@ #include <mtd_node.h> #include <netdev.h> #include <pci.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <power/pmic.h> #include <power/ltc3676_pmic.h> diff --git a/board/gdsys/a38x/controlcenterdc.c b/board/gdsys/a38x/controlcenterdc.c index 0d53d69..a2287f9 100644 --- a/board/gdsys/a38x/controlcenterdc.c +++ b/board/gdsys/a38x/controlcenterdc.c @@ -14,6 +14,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm-generic/gpio.h> +#include <linux/delay.h> #include "../drivers/ddr/marvell/a38x/ddr3_init.h" #include "../arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.h" diff --git a/board/gdsys/a38x/ihs_phys.c b/board/gdsys/a38x/ihs_phys.c index 494de18..2ef3b3a 100644 --- a/board/gdsys/a38x/ihs_phys.c +++ b/board/gdsys/a38x/ihs_phys.c @@ -2,6 +2,7 @@ #include <dm.h> #include <miiphy.h> #include <asm-generic/gpio.h> +#include <linux/delay.h> #include "ihs_phys.h" #include "dt_helpers.h" diff --git a/board/gdsys/common/cmd_ioloop.c b/board/gdsys/common/cmd_ioloop.c index 88ab823..3b4494c 100644 --- a/board/gdsys/common/cmd_ioloop.c +++ b/board/gdsys/common/cmd_ioloop.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> #include <console.h> +#include <linux/delay.h> #include <gdsys_fpga.h> diff --git a/board/gdsys/common/ihs_mdio.c b/board/gdsys/common/ihs_mdio.c index f160a57..5f1215e 100644 --- a/board/gdsys/common/ihs_mdio.c +++ b/board/gdsys/common/ihs_mdio.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <miiphy.h> #ifdef CONFIG_GDSYS_LEGACY_DRIVERS diff --git a/board/gdsys/common/mclink.c b/board/gdsys/common/mclink.c index c43d24b..6147fbf 100644 --- a/board/gdsys/common/mclink.c +++ b/board/gdsys/common/mclink.c @@ -11,6 +11,7 @@ #include <errno.h> #include <gdsys_fpga.h> +#include <linux/delay.h> enum { MCINT_SLAVE_LINK_CHANGED_EV = 1 << 7, diff --git a/board/gdsys/mpc8308/hrcon.c b/board/gdsys/mpc8308/hrcon.c index 8994c8c..90946cc 100644 --- a/board/gdsys/mpc8308/hrcon.c +++ b/board/gdsys/mpc8308/hrcon.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <init.h> #include <spi.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <pci.h> diff --git a/board/gdsys/mpc8308/mpc8308.c b/board/gdsys/mpc8308/mpc8308.c index d410845..0f90f8a 100644 --- a/board/gdsys/mpc8308/mpc8308.c +++ b/board/gdsys/mpc8308/mpc8308.c @@ -10,6 +10,7 @@ #include <asm/processor.h> #include <asm/io.h> #include <asm/global_data.h> +#include <linux/delay.h> #include "mpc8308.h" #include <gdsys_fpga.h> diff --git a/board/gdsys/mpc8308/strider.c b/board/gdsys/mpc8308/strider.c index a12e086..9b82c94 100644 --- a/board/gdsys/mpc8308/strider.c +++ b/board/gdsys/mpc8308/strider.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <init.h> #include <spi.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <pci.h> diff --git a/board/gdsys/p1022/controlcenterd-id.c b/board/gdsys/p1022/controlcenterd-id.c index ccad907..1b5aa90 100644 --- a/board/gdsys/p1022/controlcenterd-id.c +++ b/board/gdsys/p1022/controlcenterd-id.c @@ -22,6 +22,7 @@ #include <i2c.h> #include <mmc.h> #include <tpm-v1.h> +#include <linux/delay.h> #include <u-boot/crc.h> #include <u-boot/sha1.h> #include <asm/byteorder.h> diff --git a/board/gdsys/p1022/controlcenterd.c b/board/gdsys/p1022/controlcenterd.c index e960fa7..73ce985 100644 --- a/board/gdsys/p1022/controlcenterd.c +++ b/board/gdsys/p1022/controlcenterd.c @@ -36,6 +36,7 @@ #include <fsl_ddr_sdram.h> #include <asm/fsl_serdes.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <fsl_mdio.h> diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index 6f7f752..edccfd0 100644 --- a/board/ge/bx50v3/bx50v3.c +++ b/board/ge/bx50v3/bx50v3.c @@ -12,6 +12,7 @@ #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> #include <env.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/libfdt.h> #include <asm/gpio.h> diff --git a/board/google/imx8mq_phanbell/spl.c b/board/google/imx8mq_phanbell/spl.c index 543d9bb..6f39599 100644 --- a/board/google/imx8mq_phanbell/spl.c +++ b/board/google/imx8mq_phanbell/spl.c @@ -19,6 +19,7 @@ #include <asm/mach-imx/gpio.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/sections.h> +#include <linux/delay.h> #include <fsl_esdhc_imx.h> #include <mmc.h> #include <spl.h> diff --git a/board/google/veyron/veyron.c b/board/google/veyron/veyron.c index 02bc5ed..6d84a32 100644 --- a/board/google/veyron/veyron.c +++ b/board/google/veyron/veyron.c @@ -10,6 +10,7 @@ #include <log.h> #include <asm/arch-rockchip/clock.h> #include <dt-bindings/clock/rk3288-cru.h> +#include <linux/delay.h> #include <linux/err.h> #include <power/regulator.h> diff --git a/board/gumstix/duovero/duovero.c b/board/gumstix/duovero/duovero.c index 7b6fd5c..0df03a5 100644 --- a/board/gumstix/duovero/duovero.c +++ b/board/gumstix/duovero/duovero.c @@ -16,6 +16,7 @@ #include <asm/arch/gpio.h> #include <asm/gpio.h> #include <asm/mach-types.h> +#include <linux/delay.h> #include "duovero_mux_data.h" diff --git a/board/highbank/ahci.c b/board/highbank/ahci.c index 49cd117..9c05727 100644 --- a/board/highbank/ahci.c +++ b/board/highbank/ahci.c @@ -6,6 +6,7 @@ #include <common.h> #include <ahci.h> #include <asm/io.h> +#include <linux/delay.h> #define CPHY_MAP(dev, addr) ((((dev) & 0x1f) << 7) | (((addr) >> 9) & 0x7f)) #define CPHY_ADDR(base, dev, addr) ((base) | (((addr) & 0x1ff) << 2)) diff --git a/board/hisilicon/hikey/hikey.c b/board/hisilicon/hikey/hikey.c index df0f110..6eea939 100644 --- a/board/hisilicon/hikey/hikey.c +++ b/board/hisilicon/hikey/hikey.c @@ -15,6 +15,7 @@ #include <netdev.h> #include <asm/io.h> #include <usb.h> +#include <linux/delay.h> #include <power/hi6553_pmic.h> #include <asm-generic/gpio.h> #include <asm/arch/dwmmc.h> diff --git a/board/hisilicon/hikey960/hikey960.c b/board/hisilicon/hikey960/hikey960.c index 89a922f..db485db 100644 --- a/board/hisilicon/hikey960/hikey960.c +++ b/board/hisilicon/hikey960/hikey960.c @@ -15,6 +15,7 @@ #include <asm/armv8/mmu.h> #include <asm/psci.h> #include <linux/arm-smccc.h> +#include <linux/delay.h> #include <linux/psci.h> #define PMIC_REG_TO_BUS_ADDR(x) (x << 2) diff --git a/board/hisilicon/poplar/poplar.c b/board/hisilicon/poplar/poplar.c index 70a69f5..8e2dd5f 100644 --- a/board/hisilicon/poplar/poplar.c +++ b/board/hisilicon/poplar/poplar.c @@ -13,6 +13,7 @@ #include <dm/platform_data/serial_pl01x.h> #include <asm/arch/hi3798cv200.h> #include <asm/armv8/mmu.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/ids/ids8313/ids8313.c b/board/ids/ids8313/ids8313.c index 6e74e93..2065a5a 100644 --- a/board/ids/ids8313/ids8313.c +++ b/board/ids/ids8313/ids8313.c @@ -16,6 +16,7 @@ #include <init.h> #include <mpc83xx.h> #include <spi.h> +#include <linux/delay.h> #include <linux/libfdt.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/imgtec/ci20/ci20.c b/board/imgtec/ci20/ci20.c index 66c64f8..e87ea0a 100644 --- a/board/imgtec/ci20/ci20.c +++ b/board/imgtec/ci20/ci20.c @@ -13,6 +13,7 @@ #include <netdev.h> #include <asm/io.h> #include <asm/gpio.h> +#include <linux/delay.h> #include <mach/jz4780.h> #include <mach/jz4780_dram.h> #include <mach/jz4780_gpio.h> diff --git a/board/imgtec/malta/malta.c b/board/imgtec/malta/malta.c index 80005ec..88a1a63 100644 --- a/board/imgtec/malta/malta.c +++ b/board/imgtec/malta/malta.c @@ -13,6 +13,7 @@ #include <pci_gt64120.h> #include <pci_msc01.h> #include <rtc.h> +#include <linux/delay.h> #include <asm/addrspace.h> #include <asm/io.h> diff --git a/board/inversepath/usbarmory/usbarmory.c b/board/inversepath/usbarmory/usbarmory.c index 4fa34e1..02a5148 100644 --- a/board/inversepath/usbarmory/usbarmory.c +++ b/board/inversepath/usbarmory/usbarmory.c @@ -17,6 +17,7 @@ #include <asm/arch/crm_regs.h> #include <asm/arch/clock.h> #include <asm/arch/iomux-mx53.h> +#include <linux/delay.h> #include <linux/errno.h> #include <i2c.h> #include <mmc.h> diff --git a/board/isee/igep00x0/common.c b/board/isee/igep00x0/common.c index f5d62ff..2c26977 100644 --- a/board/isee/igep00x0/common.c +++ b/board/isee/igep00x0/common.c @@ -7,6 +7,7 @@ #include <asm/arch/mux.h> #include <asm/arch/sys_proto.h> #include <jffs2/load_kernel.h> +#include <linux/delay.h> #include <linux/mtd/rawnand.h> #include "igep00x0.h" diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index 887ec6a..af0bce6 100644 --- a/board/isee/igep00x0/igep00x0.c +++ b/board/isee/igep00x0/igep00x0.c @@ -20,6 +20,7 @@ #include <asm/arch/mmc_host_def.h> #include <asm/arch/mux.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #include <linux/mtd/mtd.h> #include <linux/mtd/rawnand.h> #include <linux/mtd/onenand.h> diff --git a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c index c105da5..75fb6ac 100644 --- a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c +++ b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c @@ -16,6 +16,7 @@ #include <asm/io.h> #include <errno.h> #include <spl.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index f592eba..9c9e159 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -17,6 +17,7 @@ #include <netdev.h> #include <asm/io.h> #include <linux/ctype.h> +#include <linux/delay.h> #if defined(CONFIG_POST) #include "post.h" diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c index 3c869b7..29514d8 100644 --- a/board/keymile/km83xx/km83xx.c +++ b/board/keymile/km83xx/km83xx.c @@ -26,6 +26,7 @@ #include <asm/mmu.h> #include <asm/processor.h> #include <pci.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <post.h> diff --git a/board/keymile/km83xx/km83xx_i2c.c b/board/keymile/km83xx/km83xx_i2c.c index 113ca70..62100b1 100644 --- a/board/keymile/km83xx/km83xx_i2c.c +++ b/board/keymile/km83xx/km83xx_i2c.c @@ -8,6 +8,7 @@ #include <i2c.h> #include <asm/io.h> #include <linux/ctype.h> +#include <linux/delay.h> #include "../common/common.h" static void i2c_write_start_seq(void) diff --git a/board/keymile/km_arm/fpga_config.c b/board/keymile/km_arm/fpga_config.c index 8bb0470..abb5b7d 100644 --- a/board/keymile/km_arm/fpga_config.c +++ b/board/keymile/km_arm/fpga_config.c @@ -6,6 +6,7 @@ #include <common.h> #include <i2c.h> +#include <linux/delay.h> #include <linux/errno.h> /* GPIO Pin from kirkwood connected to PROGRAM_B pin of the xilinx FPGA */ diff --git a/board/keymile/kmp204x/pci.c b/board/keymile/kmp204x/pci.c index 15bbc81..87bf168 100644 --- a/board/keymile/kmp204x/pci.c +++ b/board/keymile/kmp204x/pci.c @@ -11,6 +11,7 @@ #include <init.h> #include <pci.h> #include <asm/fsl_pci.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <asm/fsl_serdes.h> diff --git a/board/kosagi/novena/novena_spl.c b/board/kosagi/novena/novena_spl.c index bc52b91..9926285 100644 --- a/board/kosagi/novena/novena_spl.c +++ b/board/kosagi/novena/novena_spl.c @@ -23,6 +23,7 @@ #include <mmc.h> #include <fsl_esdhc_imx.h> #include <spl.h> +#include <linux/delay.h> #include <asm/arch/mx6-ddr.h> diff --git a/board/kosagi/novena/video.c b/board/kosagi/novena/video.c index a97e97a..a96a877 100644 --- a/board/kosagi/novena/video.c +++ b/board/kosagi/novena/video.c @@ -11,6 +11,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/io.h> diff --git a/board/liebherr/display5/display5.c b/board/liebherr/display5/display5.c index 728ee83..ec55fdf 100644 --- a/board/liebherr/display5/display5.c +++ b/board/liebherr/display5/display5.c @@ -25,6 +25,7 @@ #include <miiphy.h> #include <netdev.h> #include <i2c.h> +#include <linux/delay.h> #include <dm.h> #include <dm/platform_data/serial_mxc.h> diff --git a/board/liebherr/display5/spl.c b/board/liebherr/display5/spl.c index bee9966..ac4f23f 100644 --- a/board/liebherr/display5/spl.c +++ b/board/liebherr/display5/spl.c @@ -12,6 +12,7 @@ #include <log.h> #include <serial.h> #include <spl.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/board/liebherr/mccmon6/spl.c b/board/liebherr/mccmon6/spl.c index f40e814..b234f06 100644 --- a/board/liebherr/mccmon6/spl.c +++ b/board/liebherr/mccmon6/spl.c @@ -22,6 +22,7 @@ #include <asm/arch/sys_proto.h> #include <serial.h> #include <spl.h> +#include <linux/delay.h> #include <asm/arch/mx6-ddr.h> /* diff --git a/board/liebherr/xea/xea.c b/board/liebherr/xea/xea.c index 30665ea..8159f3a 100644 --- a/board/liebherr/xea/xea.c +++ b/board/liebherr/xea/xea.c @@ -24,6 +24,7 @@ #include <asm/arch/iomux-mx28.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #include <linux/mii.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/mpc8308_p1m/mpc8308_p1m.c b/board/mpc8308_p1m/mpc8308_p1m.c index caa6187..6014420 100644 --- a/board/mpc8308_p1m/mpc8308_p1m.c +++ b/board/mpc8308_p1m/mpc8308_p1m.c @@ -8,6 +8,7 @@ #include <i2c.h> #include <init.h> #include <net.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <pci.h> diff --git a/board/mscc/jr2/jr2.c b/board/mscc/jr2/jr2.c index b240c76..f806576 100644 --- a/board/mscc/jr2/jr2.c +++ b/board/mscc/jr2/jr2.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <led.h> #include <miiphy.h> +#include <linux/delay.h> enum { BOARD_TYPE_PCB110 = 0xAABBCE00, diff --git a/board/nvidia/cardhu/cardhu.c b/board/nvidia/cardhu/cardhu.c index ee56497..6848e34 100644 --- a/board/nvidia/cardhu/cardhu.c +++ b/board/nvidia/cardhu/cardhu.c @@ -11,6 +11,7 @@ #include <asm/arch/gp_padctrl.h> #include <asm/arch/gpio.h> #include <asm/gpio.h> +#include <linux/delay.h> #include "pinmux-config-cardhu.h" #include <i2c.h> diff --git a/board/nvidia/nyan-big/nyan-big.c b/board/nvidia/nyan-big/nyan-big.c index 6464e86..71c71ed 100644 --- a/board/nvidia/nyan-big/nyan-big.c +++ b/board/nvidia/nyan-big/nyan-big.c @@ -15,6 +15,7 @@ #include <asm/arch/mc.h> #include <asm/arch-tegra/clk_rst.h> #include <asm/arch-tegra/pmc.h> +#include <linux/delay.h> #include <power/as3722.h> #include <power/pmic.h> #include "pinmux-config-nyan-big.h" diff --git a/board/nvidia/venice2/as3722_init.c b/board/nvidia/venice2/as3722_init.c index 15fba13..ba67654 100644 --- a/board/nvidia/venice2/as3722_init.c +++ b/board/nvidia/venice2/as3722_init.c @@ -8,6 +8,7 @@ #include <log.h> #include <asm/io.h> #include <asm/arch-tegra/tegra_i2c.h> +#include <linux/delay.h> #include "as3722_init.h" /* AS3722-PMIC-specific early init code - get CPU rails up, etc */ diff --git a/board/olimex/mx23_olinuxino/mx23_olinuxino.c b/board/olimex/mx23_olinuxino/mx23_olinuxino.c index cfe33d3..808d221 100644 --- a/board/olimex/mx23_olinuxino/mx23_olinuxino.c +++ b/board/olimex/mx23_olinuxino/mx23_olinuxino.c @@ -16,6 +16,7 @@ #ifdef CONFIG_LED_STATUS #include <status_led.h> #endif +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/overo/overo.c b/board/overo/overo.c index 7a54719..5450f5d 100644 --- a/board/overo/overo.c +++ b/board/overo/overo.c @@ -20,6 +20,7 @@ #include <ns16550.h> #include <netdev.h> #include <twl4030.h> +#include <linux/delay.h> #include <linux/mtd/rawnand.h> #include <asm/io.h> #include <asm/arch/mmc_host_def.h> diff --git a/board/pandora/pandora.c b/board/pandora/pandora.c index bb310d9..a938486 100644 --- a/board/pandora/pandora.c +++ b/board/pandora/pandora.c @@ -24,6 +24,7 @@ #include <asm/arch/gpio.h> #include <asm/arch/sys_proto.h> #include <asm/mach-types.h> +#include <linux/delay.h> #include "pandora.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c index b1bf8d5..096425c 100644 --- a/board/phytec/pcm058/pcm058.c +++ b/board/phytec/pcm058/pcm058.c @@ -23,6 +23,7 @@ #include <asm/mach-imx/boot_mode.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/spi.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <mmc.h> diff --git a/board/phytec/pfla02/pfla02.c b/board/phytec/pfla02/pfla02.c index ce3cc6a..fed8f52 100644 --- a/board/phytec/pfla02/pfla02.c +++ b/board/phytec/pfla02/pfla02.c @@ -20,6 +20,7 @@ #include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/spi.h> #include <env.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <mmc.h> diff --git a/board/ppcag/bg0900/bg0900.c b/board/ppcag/bg0900/bg0900.c index 7087079..9150748 100644 --- a/board/ppcag/bg0900/bg0900.c +++ b/board/ppcag/bg0900/bg0900.c @@ -14,6 +14,7 @@ #include <asm/arch/iomux-mx28.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #include <linux/mii.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c b/board/qualcomm/dragonboard410c/dragonboard410c.c index 75505d0..672bd46 100644 --- a/board/qualcomm/dragonboard410c/dragonboard410c.c +++ b/board/qualcomm/dragonboard410c/dragonboard410c.c @@ -17,6 +17,7 @@ #include <fdt_support.h> #include <asm/arch/dram.h> #include <asm/arch/misc.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c index de487ff..600a355 100644 --- a/board/renesas/alt/alt.c +++ b/board/renesas/alt/alt.c @@ -17,6 +17,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/gose/gose.c b/board/renesas/gose/gose.c index aec947a..686ad28 100644 --- a/board/renesas/gose/gose.c +++ b/board/renesas/gose/gose.c @@ -17,6 +17,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/koelsch/koelsch.c b/board/renesas/koelsch/koelsch.c index 67ac85d..0f21f8d 100644 --- a/board/renesas/koelsch/koelsch.c +++ b/board/renesas/koelsch/koelsch.c @@ -18,6 +18,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c index 1a5877b..8a94f21 100644 --- a/board/renesas/lager/lager.c +++ b/board/renesas/lager/lager.c @@ -20,6 +20,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/porter/porter.c b/board/renesas/porter/porter.c index acff2e3..f311a72 100644 --- a/board/renesas/porter/porter.c +++ b/board/renesas/porter/porter.c @@ -18,6 +18,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/sh7752evb/sh7752evb.c b/board/renesas/sh7752evb/sh7752evb.c index c6e0c12..a005029 100644 --- a/board/renesas/sh7752evb/sh7752evb.c +++ b/board/renesas/sh7752evb/sh7752evb.c @@ -15,6 +15,7 @@ #include <asm/mmc.h> #include <spi.h> #include <spi_flash.h> +#include <linux/delay.h> int checkboard(void) { diff --git a/board/renesas/sh7753evb/sh7753evb.c b/board/renesas/sh7753evb/sh7753evb.c index cdeacb8..3b4a3ce 100644 --- a/board/renesas/sh7753evb/sh7753evb.c +++ b/board/renesas/sh7753evb/sh7753evb.c @@ -15,6 +15,7 @@ #include <asm/mmc.h> #include <spi.h> #include <spi_flash.h> +#include <linux/delay.h> int checkboard(void) { diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c index db88f0d..fe753a7 100644 --- a/board/renesas/silk/silk.c +++ b/board/renesas/silk/silk.c @@ -18,6 +18,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/renesas/stout/stout.c b/board/renesas/stout/stout.c index 594070a..b32e11a1 100644 --- a/board/renesas/stout/stout.c +++ b/board/renesas/stout/stout.c @@ -19,6 +19,7 @@ #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 7f7fb07..029a0cc 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -32,6 +32,7 @@ #include <stdio_dev.h> #include <usb.h> #include <dwc3-uboot.h> +#include <linux/delay.h> #include <samsung/misc.h> #include <dm/pinctrl.h> #include <dm.h> diff --git a/board/samsung/common/exynos5-dt-types.c b/board/samsung/common/exynos5-dt-types.c index 1413dc8..f1ecb7d 100644 --- a/board/samsung/common/exynos5-dt-types.c +++ b/board/samsung/common/exynos5-dt-types.c @@ -9,6 +9,7 @@ #include <dm.h> #include <errno.h> #include <fdtdec.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/s2mps11.h> diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index 146843d..837463b 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -9,6 +9,7 @@ #include <env.h> #include <lcd.h> #include <libtizen.h> +#include <linux/delay.h> #include <samsung/misc.h> #include <errno.h> #include <version.h> diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index 9639f9a..40a94d5 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -11,6 +11,7 @@ #include <asm/gpio.h> #include <asm/arch/mmc.h> #include <dm.h> +#include <linux/delay.h> #include <power/pmic.h> #include <usb/dwc2_udc.h> #include <asm/arch/cpu.h> diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index b01c936..2e80dbb 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -18,6 +18,7 @@ #include <asm/arch/mipi_dsim.h> #include <asm/arch/watchdog.h> #include <asm/arch/power.h> +#include <linux/delay.h> #include <power/pmic.h> #include <usb/dwc2_udc.h> #include <power/max8997_pmic.h> diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c index ad5dea7..69e0ef1 100644 --- a/board/samsung/trats2/trats2.c +++ b/board/samsung/trats2/trats2.c @@ -12,6 +12,7 @@ #include <asm/arch/pinmux.h> #include <asm/arch/power.h> #include <asm/arch/mipi_dsim.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/max77686_pmic.h> #include <power/battery.h> diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c index c56a87b..f50da6b 100644 --- a/board/samsung/universal_c210/universal.c +++ b/board/samsung/universal_c210/universal.c @@ -16,6 +16,7 @@ #include <asm/arch/pinmux.h> #include <asm/arch/watchdog.h> #include <ld9040.h> +#include <linux/delay.h> #include <power/pmic.h> #include <usb.h> #include <usb/dwc2_udc.h> diff --git a/board/sandisk/sansa_fuze_plus/sfp.c b/board/sandisk/sansa_fuze_plus/sfp.c index ae965a8..04f8678 100644 --- a/board/sandisk/sansa_fuze_plus/sfp.c +++ b/board/sandisk/sansa_fuze_plus/sfp.c @@ -19,6 +19,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/sbc8349/pci.c b/board/sbc8349/pci.c index b6435f3..26c4f24 100644 --- a/board/sbc8349/pci.c +++ b/board/sbc8349/pci.c @@ -15,6 +15,7 @@ #include <pci.h> #include <i2c.h> #include <asm/fsl_i2c.h> +#include <linux/delay.h> static struct pci_region pci1_regions[] = { { diff --git a/board/sbc8349/sbc8349.c b/board/sbc8349/sbc8349.c index 2c05ebb..c84146a 100644 --- a/board/sbc8349/sbc8349.c +++ b/board/sbc8349/sbc8349.c @@ -19,6 +19,7 @@ #if defined(CONFIG_OF_LIBFDT) #include <linux/libfdt.h> #endif +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/sbc8548/ddr.c b/board/sbc8548/ddr.c index f7af1e3..61bc77c 100644 --- a/board/sbc8548/ddr.c +++ b/board/sbc8548/ddr.c @@ -5,6 +5,7 @@ #include <common.h> #include <i2c.h> +#include <linux/delay.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c index 5883859..24782c7 100644 --- a/board/sbc8548/sbc8548.c +++ b/board/sbc8548/sbc8548.c @@ -23,6 +23,7 @@ #include <netdev.h> #include <tsec.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/sbc8641d/sbc8641d.c b/board/sbc8641d/sbc8641d.c index 91867d4..3375cd6 100644 --- a/board/sbc8641d/sbc8641d.c +++ b/board/sbc8641d/sbc8641d.c @@ -21,6 +21,7 @@ #include <asm/fsl_pci.h> #include <fsl_ddr_sdram.h> #include <asm/fsl_serdes.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/seco/mx6quq7/mx6quq7.c b/board/seco/mx6quq7/mx6quq7.c index b8aa0e7..4fa0dab 100644 --- a/board/seco/mx6quq7/mx6quq7.c +++ b/board/seco/mx6quq7/mx6quq7.c @@ -13,6 +13,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c index 8c61425..c46e4ff 100644 --- a/board/siemens/capricorn/board.c +++ b/board/siemens/capricorn/board.c @@ -27,6 +27,7 @@ #ifndef CONFIG_SPL #include <asm/arch-imx8/clock.h> #endif +#include <linux/delay.h> #include "../common/factoryset.h" #define GPIO_PAD_CTRL \ diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index b4893d3..5ac73c0 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -35,6 +35,7 @@ #include <miiphy.h> #include <cpsw.h> #include <watchdog.h> +#include <linux/delay.h> #include "board.h" #include "../common/factoryset.h" #include <nand.h> diff --git a/board/siemens/rut/board.c b/board/siemens/rut/board.c index fff2b69..3b109e9 100644 --- a/board/siemens/rut/board.c +++ b/board/siemens/rut/board.c @@ -34,6 +34,7 @@ #include <cpsw.h> #include <video.h> #include <watchdog.h> +#include <linux/delay.h> #include "board.h" #include "../common/factoryset.h" #include "../../../drivers/video/da8xx-fb.h" diff --git a/board/sks-kinkel/sksimx6/sksimx6.c b/board/sks-kinkel/sksimx6/sksimx6.c index 235d87c..772c179 100644 --- a/board/sks-kinkel/sksimx6/sksimx6.c +++ b/board/sks-kinkel/sksimx6/sksimx6.c @@ -11,6 +11,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c index 8eb4f8f..d358a20 100644 --- a/board/socrates/sdram.c +++ b/board/socrates/sdram.c @@ -12,6 +12,7 @@ #include <asm/processor.h> #include <asm/mmu.h> #include <spd_sdram.h> +#include <linux/delay.h> #if !defined(CONFIG_SPD_EEPROM) diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index c51f3e4..58c5f75 100644 --- a/board/socrates/socrates.c +++ b/board/socrates/socrates.c @@ -20,6 +20,7 @@ #include <asm/immap_85xx.h> #include <ioports.h> #include <flash.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <asm/io.h> diff --git a/board/softing/vining_2000/vining_2000.c b/board/softing/vining_2000/vining_2000.c index f523e50..19fb85f 100644 --- a/board/softing/vining_2000/vining_2000.c +++ b/board/softing/vining_2000/vining_2000.c @@ -19,6 +19,7 @@ #include <asm/io.h> #include <asm/mach-imx/mxc_i2c.h> #include <env.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <common.h> #include <fsl_esdhc_imx.h> diff --git a/board/softing/vining_fpga/socfpga.c b/board/softing/vining_fpga/socfpga.c index 537d9d1..7e311b7 100644 --- a/board/softing/vining_fpga/socfpga.c +++ b/board/softing/vining_fpga/socfpga.c @@ -13,6 +13,7 @@ #include <asm/io.h> #include <asm/gpio.h> #include <i2c.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/solidrun/clearfog/clearfog.c b/board/solidrun/clearfog/clearfog.c index 9430097..df23c0d 100644 --- a/board/solidrun/clearfog/clearfog.c +++ b/board/solidrun/clearfog/clearfog.c @@ -13,6 +13,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "../common/tlv_data.h" #include "../drivers/ddr/marvell/a38x/ddr3_init.h" diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c b/board/solidrun/mx6cuboxi/mx6cuboxi.c index 2660735..94707bc 100644 --- a/board/solidrun/mx6cuboxi/mx6cuboxi.c +++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c @@ -24,6 +24,7 @@ #include <asm/arch/mx6-pins.h> #include <asm/arch/mxc_hdmi.h> #include <env.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/spear/x600/fpga.c b/board/spear/x600/fpga.c index 6dc3fb3..5140694 100644 --- a/board/spear/x600/fpga.c +++ b/board/spear/x600/fpga.c @@ -12,6 +12,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/spr_misc.h> #include <asm/arch/spr_ssp.h> +#include <linux/delay.h> /* * FPGA program pin configuration on X600: diff --git a/board/sr1500/socfpga.c b/board/sr1500/socfpga.c index 83663c7..d9125a7 100644 --- a/board/sr1500/socfpga.c +++ b/board/sr1500/socfpga.c @@ -8,6 +8,7 @@ #include <asm/arch/reset_manager.h> #include <asm/gpio.h> #include <asm/io.h> +#include <linux/delay.h> int board_early_init_f(void) { diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index ae5e110..0f728fd 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -23,6 +23,7 @@ #include <asm/arch/gpio.h> #include <asm/arch/syscfg.h> #include <asm/gpio.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/st/stm32mp1/board.c b/board/st/stm32mp1/board.c index 4e35d36..b0d1650 100644 --- a/board/st/stm32mp1/board.c +++ b/board/st/stm32mp1/board.c @@ -7,6 +7,7 @@ #include <dm.h> #include <asm/io.h> #include <asm/arch/ddr.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/stpmic1.h> diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index ba556de..929302c 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -34,6 +34,7 @@ #include <asm/arch/stm32.h> #include <asm/arch/sys_proto.h> #include <jffs2/load_kernel.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/iopoll.h> #include <power/regulator.h> diff --git a/board/sunxi/board.c b/board/sunxi/board.c index f8d5dba..f32e8f5 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -28,6 +28,7 @@ #include <asm/arch/gpio.h> #include <asm/arch/mmc.h> #include <asm/arch/spl.h> +#include <linux/delay.h> #include <u-boot/crc.h> #ifndef CONFIG_ARM64 #include <asm/armv7.h> diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c index dcb19dd..a421954 100644 --- a/board/synopsys/hsdk/hsdk.c +++ b/board/synopsys/hsdk/hsdk.c @@ -14,6 +14,7 @@ #include <irq_func.h> #include <log.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/printk.h> #include <linux/kernel.h> #include <linux/io.h> diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c index 9ea62bb..d5393d7 100644 --- a/board/syteco/zmx25/zmx25.c +++ b/board/syteco/zmx25/zmx25.c @@ -21,6 +21,7 @@ #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux-mx25.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/technexion/pico-imx6/pico-imx6.c b/board/technexion/pico-imx6/pico-imx6.c index c60ce4b..b5a02eb 100644 --- a/board/technexion/pico-imx6/pico-imx6.c +++ b/board/technexion/pico-imx6/pico-imx6.c @@ -20,6 +20,7 @@ #include <asm/mach-imx/video.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <common.h> #include <miiphy.h> diff --git a/board/technexion/pico-imx6/spl.c b/board/technexion/pico-imx6/spl.c index fe3c584..f9ae096 100644 --- a/board/technexion/pico-imx6/spl.c +++ b/board/technexion/pico-imx6/spl.c @@ -13,6 +13,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c index e4ca83a..1d24096 100644 --- a/board/technexion/pico-imx6ul/pico-imx6ul.c +++ b/board/technexion/pico-imx6ul/pico-imx6ul.c @@ -19,6 +19,7 @@ #include <common.h> #include <miiphy.h> #include <netdev.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <usb.h> #include <power/pmic.h> diff --git a/board/technexion/pico-imx8mq/pico-imx8mq.c b/board/technexion/pico-imx8mq/pico-imx8mq.c index 822357b..2a3e6e7 100644 --- a/board/technexion/pico-imx8mq/pico-imx8mq.c +++ b/board/technexion/pico-imx8mq/pico-imx8mq.c @@ -20,6 +20,7 @@ #include <asm/mach-imx/gpio.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/arch/clock.h> +#include <linux/delay.h> #include <spl.h> #include <power/pmic.h> diff --git a/board/technexion/pico-imx8mq/spl.c b/board/technexion/pico-imx8mq/spl.c index de6b0f4..1677e03 100644 --- a/board/technexion/pico-imx8mq/spl.c +++ b/board/technexion/pico-imx8mq/spl.c @@ -15,6 +15,7 @@ #include <asm/mach-imx/gpio.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/mxc_i2c.h> +#include <linux/delay.h> #include <errno.h> #include <fsl_esdhc_imx.h> #include <mmc.h> diff --git a/board/technologic/ts4600/ts4600.c b/board/technologic/ts4600/ts4600.c index 2a63e84..54508cd 100644 --- a/board/technologic/ts4600/ts4600.c +++ b/board/technologic/ts4600/ts4600.c @@ -21,6 +21,7 @@ #include <asm/arch/iomux-mx28.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #include <linux/mii.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/technologic/ts4800/ts4800.c b/board/technologic/ts4800/ts4800.c index 99f9293..28918de 100644 --- a/board/technologic/ts4800/ts4800.c +++ b/board/technologic/ts4800/ts4800.c @@ -15,6 +15,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux-mx51.h> #include <env.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sys_proto.h> #include <asm/arch/crm_regs.h> diff --git a/board/theadorable/theadorable.c b/board/theadorable/theadorable.c index 6ee0903..53ef991 100644 --- a/board/theadorable/theadorable.c +++ b/board/theadorable/theadorable.c @@ -17,6 +17,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include <linux/mbus.h> #ifdef CONFIG_NET #include <netdev.h> diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 56fe171..474495a 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -36,6 +36,7 @@ #include <i2c.h> #include <miiphy.h> #include <cpsw.h> +#include <linux/delay.h> #include <power/tps65217.h> #include <power/tps65910.h> #include <env_internal.h> diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index d6d21ba..aba74fc 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -28,6 +28,7 @@ #include <twl4030.h> #include <asm/mach-types.h> #include <asm/omap_musb.h> +#include <linux/delay.h> #include <linux/mtd/rawnand.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c index 21f002e..450ccc4 100644 --- a/board/ti/ks2_evm/board_k2g.c +++ b/board/ti/ks2_evm/board_k2g.c @@ -18,6 +18,7 @@ #include <fdtdec.h> #include <i2c.h> #include <remoteproc.h> +#include <linux/delay.h> #include "mux-k2g.h" #include "../common/board_detect.h" diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index fab48a7..e35f319 100644 --- a/board/ti/omap5_uevm/evm.c +++ b/board/ti/omap5_uevm/evm.c @@ -14,6 +14,7 @@ #include <asm/arch/mmc_host_def.h> #include <tca642x.h> #include <usb.h> +#include <linux/delay.h> #include <linux/usb/gadget.h> #include <dwc3-uboot.h> #include <dwc3-omap-uboot.h> diff --git a/board/timll/devkit3250/devkit3250.c b/board/timll/devkit3250/devkit3250.c index b455844..f4eaf15 100644 --- a/board/timll/devkit3250/devkit3250.c +++ b/board/timll/devkit3250/devkit3250.c @@ -13,6 +13,7 @@ #include <asm/arch/emc.h> #include <asm/arch/wdt.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c index 3d80381..d77b4c4 100644 --- a/board/toradex/apalis-tk1/apalis-tk1.c +++ b/board/toradex/apalis-tk1/apalis-tk1.c @@ -15,6 +15,7 @@ #include <asm/arch/pinmux.h> #include <env_internal.h> #include <pci_tegra.h> +#include <linux/delay.h> #include <power/as3722.h> #include <power/pmic.h> diff --git a/board/toradex/apalis-tk1/as3722_init.c b/board/toradex/apalis-tk1/as3722_init.c index 0b5882c..68169f5 100644 --- a/board/toradex/apalis-tk1/as3722_init.c +++ b/board/toradex/apalis-tk1/as3722_init.c @@ -7,6 +7,7 @@ #include <log.h> #include <asm/io.h> #include <asm/arch-tegra/tegra_i2c.h> +#include <linux/delay.h> #include "as3722_init.h" /* AS3722-PMIC-specific early init code - get CPU rails up, etc */ diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index dac9503..f7b79c5 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -12,6 +12,7 @@ #include <image.h> #include <init.h> #include <net.h> +#include <linux/delay.h> #include <ahci.h> #include <asm/arch/clock.h> diff --git a/board/toradex/apalis_imx6/pf0100.c b/board/toradex/apalis_imx6/pf0100.c index f8d0494..c89052f 100644 --- a/board/toradex/apalis_imx6/pf0100.c +++ b/board/toradex/apalis_imx6/pf0100.c @@ -15,6 +15,7 @@ #include <asm/arch/mx6-pins.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> +#include <linux/delay.h> #include "pf0100_otp.inc" #include "pf0100.h" diff --git a/board/toradex/apalis_t30/apalis_t30.c b/board/toradex/apalis_t30/apalis_t30.c index 5e6ba69..3e8b8b1 100644 --- a/board/toradex/apalis_t30/apalis_t30.c +++ b/board/toradex/apalis_t30/apalis_t30.c @@ -16,6 +16,7 @@ #include <dm.h> #include <i2c.h> #include <pci_tegra.h> +#include <linux/delay.h> #include "../common/tdx-common.h" #include "pinmux-config-apalis_t30.h" diff --git a/board/toradex/colibri-imx6ull/colibri-imx6ull.c b/board/toradex/colibri-imx6ull/colibri-imx6ull.c index 7dfe8ae..c67d02f 100644 --- a/board/toradex/colibri-imx6ull/colibri-imx6ull.c +++ b/board/toradex/colibri-imx6ull/colibri-imx6ull.c @@ -4,6 +4,7 @@ */ #include <common.h> #include <init.h> +#include <linux/delay.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index 197d8c3..bdb4ac6 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -12,6 +12,7 @@ #include <env.h> #include <init.h> #include <net.h> +#include <linux/delay.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> diff --git a/board/toradex/colibri_imx6/pf0100.c b/board/toradex/colibri_imx6/pf0100.c index 149e9bd..8f08d8c 100644 --- a/board/toradex/colibri_imx6/pf0100.c +++ b/board/toradex/colibri_imx6/pf0100.c @@ -15,6 +15,7 @@ #include <asm/arch/mx6-pins.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> +#include <linux/delay.h> #include "pf0100_otp.inc" #include "pf0100.h" diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index 8e62b79..8df925d 100644 --- a/board/toradex/colibri_imx7/colibri_imx7.c +++ b/board/toradex/colibri_imx7/colibri_imx7.c @@ -21,6 +21,7 @@ #include <fdt_support.h> #include <fsl_esdhc_imx.h> #include <jffs2/load_kernel.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <mmc.h> #include <miiphy.h> diff --git a/board/toradex/colibri_pxa270/colibri_pxa270.c b/board/toradex/colibri_pxa270/colibri_pxa270.c index d9b09ae..18b3d3f 100644 --- a/board/toradex/colibri_pxa270/colibri_pxa270.c +++ b/board/toradex/colibri_pxa270/colibri_pxa270.c @@ -22,6 +22,7 @@ #include <serial.h> #include <usb.h> #include <asm/mach-types.h> +#include <linux/delay.h> #include "../common/tdx-common.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 22517b9..cb0aed8 100644 --- a/board/toradex/colibri_t20/colibri_t20.c +++ b/board/toradex/colibri_t20/colibri_t20.c @@ -16,6 +16,7 @@ #include <asm/io.h> #include <i2c.h> #include <nand.h> +#include <linux/delay.h> #include "../common/tdx-common.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/toradex/colibri_t30/colibri_t30.c b/board/toradex/colibri_t30/colibri_t30.c index d21ff54..0bbe81e 100644 --- a/board/toradex/colibri_t30/colibri_t30.c +++ b/board/toradex/colibri_t30/colibri_t30.c @@ -13,6 +13,7 @@ #include <asm/gpio.h> #include <asm/io.h> #include <i2c.h> +#include <linux/delay.h> #include "pinmux-config-colibri_t30.h" #include "../common/tdx-common.h" diff --git a/board/tplink/wdr4300/wdr4300.c b/board/tplink/wdr4300/wdr4300.c index 7e73395..287132e 100644 --- a/board/tplink/wdr4300/wdr4300.c +++ b/board/tplink/wdr4300/wdr4300.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/addrspace.h> #include <asm/types.h> +#include <linux/delay.h> #include <mach/ath79.h> #include <mach/ar71xx_regs.h> #include <mach/ddr.h> diff --git a/board/tqc/tqm834x/pci.c b/board/tqc/tqm834x/pci.c index 0834207..92bda607 100644 --- a/board/tqc/tqm834x/pci.c +++ b/board/tqc/tqm834x/pci.c @@ -13,6 +13,7 @@ #include <pci.h> #include <i2c.h> #include <asm/fsl_i2c.h> +#include <linux/delay.h> static struct pci_region pci1_regions[] = { { diff --git a/board/tqc/tqm834x/tqm834x.c b/board/tqc/tqm834x/tqm834x.c index 77fe7e2..165a543 100644 --- a/board/tqc/tqm834x/tqm834x.c +++ b/board/tqc/tqm834x/tqm834x.c @@ -16,6 +16,7 @@ #include <asm/mmu.h> #include <pci.h> #include <flash.h> +#include <linux/delay.h> #include <mtd/cfi_flash.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/tqc/tqma6/tqma6_mba6.c b/board/tqc/tqma6/tqma6_mba6.c index c5598c0..84d0e38 100644 --- a/board/tqc/tqma6/tqma6_mba6.c +++ b/board/tqc/tqma6/tqma6_mba6.c @@ -15,6 +15,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/mxc_i2c.h> diff --git a/board/tqc/tqma6/tqma6_wru4.c b/board/tqc/tqma6/tqma6_wru4.c index d64eff4..0488cba 100644 --- a/board/tqc/tqma6/tqma6_wru4.c +++ b/board/tqc/tqma6/tqma6_wru4.c @@ -17,6 +17,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/boot_mode.h> diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index 096551b..5e49180 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -25,6 +25,7 @@ #include <asm/mach-imx/mxc_i2c.h> #include <asm/arch/sys_proto.h> #include <spl.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <common.h> #include <i2c.h> diff --git a/board/udoo/udoo.c b/board/udoo/udoo.c index 0370db6..4c85d99 100644 --- a/board/udoo/udoo.c +++ b/board/udoo/udoo.c @@ -13,6 +13,7 @@ #include <env.h> #include <malloc.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/udoo/udoo_spl.c b/board/udoo/udoo_spl.c index 09fc23a..d9afbbb 100644 --- a/board/udoo/udoo_spl.c +++ b/board/udoo/udoo_spl.c @@ -12,6 +12,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/varisys/common/sys_eeprom.c b/board/varisys/common/sys_eeprom.c index 134c307..251d9fd 100644 --- a/board/varisys/common/sys_eeprom.c +++ b/board/varisys/common/sys_eeprom.c @@ -15,6 +15,7 @@ #include <env.h> #include <i2c.h> #include <linux/ctype.h> +#include <linux/delay.h> #include <u-boot/crc.h> #include "eeprom.h" diff --git a/board/ve8313/ve8313.c b/board/ve8313/ve8313.c index d1c9535..ceb3d75 100644 --- a/board/ve8313/ve8313.c +++ b/board/ve8313/ve8313.c @@ -11,6 +11,7 @@ #include <common.h> #include <fdt_support.h> #include <init.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <pci.h> #include <mpc83xx.h> diff --git a/board/wandboard/spl.c b/board/wandboard/spl.c index 816b9cb..04c351f 100644 --- a/board/wandboard/spl.c +++ b/board/wandboard/spl.c @@ -11,6 +11,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> #include <asm/arch/mx6-pins.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index c113a0c..e0e01b1 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -25,6 +25,7 @@ #include <asm/mach-imx/sata.h> #include <asm/io.h> #include <env.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <common.h> #include <miiphy.h> diff --git a/board/work-microwave/work_92105/work_92105.c b/board/work-microwave/work_92105/work_92105.c index 5cc2566..2e0def5 100644 --- a/board/work-microwave/work_92105/work_92105.c +++ b/board/work-microwave/work_92105/work_92105.c @@ -16,6 +16,7 @@ #include <asm/arch/wdt.h> #include <asm/gpio.h> #include <spl.h> +#include <linux/delay.h> #include "work_92105_display.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/work-microwave/work_92105/work_92105_display.c b/board/work-microwave/work_92105/work_92105_display.c index 4641185..fecbbbd 100644 --- a/board/work-microwave/work_92105/work_92105_display.c +++ b/board/work-microwave/work_92105/work_92105_display.c @@ -22,6 +22,7 @@ #include <i2c.h> #include <version.h> #include <vsprintf.h> +#include <linux/delay.h> /* * GPO 15 in port 3 is gpio 3*32+15 = 111 diff --git a/board/xilinx/zynqmp/tap_delays.c b/board/xilinx/zynqmp/tap_delays.c index c3ae357..5fde0ae 100644 --- a/board/xilinx/zynqmp/tap_delays.c +++ b/board/xilinx/zynqmp/tap_delays.c @@ -7,6 +7,7 @@ #include <common.h> #include <asm/arch/sys_proto.h> +#include <linux/delay.h> #define SD_DLL_CTRL 0xFF180358 #define SD_ITAP_DLY 0xFF180314 diff --git a/board/xilinx/zynqmp/xil_io.h b/board/xilinx/zynqmp/xil_io.h index 1c1bf32..e6caa7c 100644 --- a/board/xilinx/zynqmp/xil_io.h +++ b/board/xilinx/zynqmp/xil_io.h @@ -6,6 +6,7 @@ /* FIXME remove this when vivado is fixed */ #include <asm/io.h> #include <common.h> +#include <linux/delay.h> #define xil_printf(...) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index fd6652a..35ffac9 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -31,6 +31,8 @@ #include <zynqmppl.h> #include <zynqmp_firmware.h> #include <g_dnl.h> +#include <linux/delay.h> +#include <linux/sizes.h> #include "../common/board.h" #include "pm_cfg_obj.h" diff --git a/cmd/bootmenu.c b/cmd/bootmenu.c index 551420d..18efe25 100644 --- a/cmd/bootmenu.c +++ b/cmd/bootmenu.c @@ -11,6 +11,7 @@ #include <menu.h> #include <watchdog.h> #include <malloc.h> +#include <linux/delay.h> #include <linux/string.h> /* maximum bootmenu entries */ diff --git a/cmd/conitrace.c b/cmd/conitrace.c index e45e87a..88850db 100644 --- a/cmd/conitrace.c +++ b/cmd/conitrace.c @@ -7,6 +7,7 @@ */ #include <common.h> #include <command.h> +#include <linux/delay.h> static int do_conitrace(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/cmd/eeprom.c b/cmd/eeprom.c index f61a551..7fa62bb 100644 --- a/cmd/eeprom.c +++ b/cmd/eeprom.c @@ -25,6 +25,7 @@ #include <eeprom.h> #include <i2c.h> #include <eeprom_layout.h> +#include <linux/delay.h> #ifndef CONFIG_SYS_I2C_SPEED #define CONFIG_SYS_I2C_SPEED 50000 @@ -77,6 +77,7 @@ #include <malloc.h> #include <asm/byteorder.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <u-boot/crc.h> /* Display values from last command. @@ -20,6 +20,7 @@ #include <serial.h> #include <xyzModem.h> #include <asm/cache.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; @@ -24,6 +24,7 @@ #include <watchdog.h> #include <asm/io.h> #include <linux/compiler.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; @@ -10,6 +10,7 @@ #include <common.h> #include <command.h> #include <console.h> +#include <linux/delay.h> static int do_sleep(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c index a117ab2..d565635 100644 --- a/cmd/usb_mass_storage.c +++ b/cmd/usb_mass_storage.c @@ -17,6 +17,7 @@ #include <usb.h> #include <usb_mass_storage.h> #include <watchdog.h> +#include <linux/delay.h> static int ums_read_sector(struct ums *ums_dev, ulong start, lbaint_t blkcnt, void *buf) diff --git a/common/autoboot.c b/common/autoboot.c index 9d7b6b8..6d78716 100644 --- a/common/autoboot.c +++ b/common/autoboot.c @@ -19,6 +19,7 @@ #include <menu.h> #include <post.h> #include <time.h> +#include <linux/delay.h> #include <u-boot/sha256.h> #include <bootcount.h> diff --git a/common/console.c b/common/console.c index e398530..1deca3c 100644 --- a/common/console.c +++ b/common/console.c @@ -19,6 +19,7 @@ #include <exports.h> #include <env_internal.h> #include <watchdog.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/common/miiphyutil.c b/common/miiphyutil.c index 9b86b09..7d4d15e 100644 --- a/common/miiphyutil.c +++ b/common/miiphyutil.c @@ -14,6 +14,7 @@ #include <log.h> #include <miiphy.h> #include <phy.h> +#include <linux/delay.h> #include <asm/types.h> #include <linux/list.h> diff --git a/common/usb.c b/common/usb.c index 7c60460..aad13fd 100644 --- a/common/usb.c +++ b/common/usb.c @@ -38,6 +38,7 @@ #include <asm/unaligned.h> #include <errno.h> #include <usb.h> +#include <linux/delay.h> #define USB_BUFSIZ 512 diff --git a/common/usb_hub.c b/common/usb_hub.c index 354aee7..e578f0b 100644 --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -32,6 +32,7 @@ #include <asm/processor.h> #include <asm/unaligned.h> #include <linux/ctype.h> +#include <linux/delay.h> #include <linux/list.h> #include <asm/byteorder.h> #ifdef CONFIG_SANDBOX diff --git a/common/usb_storage.c b/common/usb_storage.c index 743a239..ff25441 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -45,6 +45,7 @@ #include <asm/processor.h> #include <dm/device-internal.h> #include <dm/lists.h> +#include <linux/delay.h> #include <part.h> #include <usb.h> diff --git a/drivers/adc/adc-uclass.c b/drivers/adc/adc-uclass.c index 0a492eb..d435667 100644 --- a/drivers/adc/adc-uclass.c +++ b/drivers/adc/adc-uclass.c @@ -12,6 +12,7 @@ #include <dm/device-internal.h> #include <dm/uclass-internal.h> #include <adc.h> +#include <linux/delay.h> #include <power/regulator.h> #define ADC_UCLASS_PLATDATA_SIZE sizeof(struct adc_uclass_platdata) diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c index f7c919d..1e1515f 100644 --- a/drivers/adc/meson-saradc.c +++ b/drivers/adc/meson-saradc.c @@ -14,6 +14,7 @@ #include <regmap.h> #include <errno.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/math64.h> #include <linux/bitfield.h> diff --git a/drivers/adc/stm32-adc.c b/drivers/adc/stm32-adc.c index ca1ac3e..140ddce 100644 --- a/drivers/adc/stm32-adc.c +++ b/drivers/adc/stm32-adc.c @@ -10,6 +10,7 @@ #include <adc.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/iopoll.h> #include "stm32-adc-core.h" diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 2bb4560..dda3586 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -12,6 +12,7 @@ #include <blk.h> #include <cpu_func.h> #include <log.h> +#include <linux/delay.h> #include <command.h> #include <dm.h> diff --git a/drivers/ata/ahci_sunxi.c b/drivers/ata/ahci_sunxi.c index 989690a..58e345d 100644 --- a/drivers/ata/ahci_sunxi.c +++ b/drivers/ata/ahci_sunxi.c @@ -6,6 +6,7 @@ #include <errno.h> #include <asm/io.h> #include <asm/gpio.h> +#include <linux/delay.h> #define AHCI_PHYCS0R 0x00c0 #define AHCI_PHYCS1R 0x00c4 diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c index 7334129..562e982 100644 --- a/drivers/ata/dwc_ahsata.c +++ b/drivers/ata/dwc_ahsata.c @@ -24,6 +24,7 @@ #include <asm/mach-imx/sata.h> #include <linux/bitops.h> #include <linux/ctype.h> +#include <linux/delay.h> #include <linux/errno.h> #include "dwc_ahsata_priv.h" diff --git a/drivers/ata/fsl_sata.c b/drivers/ata/fsl_sata.c index e8f2d36..8c6726a 100644 --- a/drivers/ata/fsl_sata.c +++ b/drivers/ata/fsl_sata.c @@ -18,6 +18,7 @@ #include <libata.h> #include <fis.h> #include <sata.h> +#include <linux/delay.h> #include "fsl_sata.h" #if CONFIG_IS_ENABLED(BLK) diff --git a/drivers/ata/mvsata_ide.c b/drivers/ata/mvsata_ide.c index 6bbb345..41f9a91 100644 --- a/drivers/ata/mvsata_ide.c +++ b/drivers/ata/mvsata_ide.c @@ -7,6 +7,7 @@ #include <common.h> #include <asm/io.h> +#include <linux/delay.h> #if defined(CONFIG_ARCH_ORION5X) #include <asm/arch/orion5x.h> diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 4aa97ee..647d8c7 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c @@ -44,6 +44,7 @@ #include <libata.h> #include <malloc.h> #include <sata.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <linux/mbus.h> diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c index 17db640..6896fa8 100644 --- a/drivers/ata/sata_sil.c +++ b/drivers/ata/sata_sil.c @@ -17,6 +17,7 @@ #include <sata.h> #include <libata.h> #include <sata.h> +#include <linux/delay.h> #if CONFIG_IS_ENABLED(BLK) #include <dm.h> diff --git a/drivers/ata/sata_sil3114.c b/drivers/ata/sata_sil3114.c index 7348566..4d3a680 100644 --- a/drivers/ata/sata_sil3114.c +++ b/drivers/ata/sata_sil3114.c @@ -19,6 +19,7 @@ #include <ide.h> #include <sata.h> #include <libata.h> +#include <linux/delay.h> #include "sata_sil3114.h" /* Convert sectorsize to wordsize */ diff --git a/drivers/axi/ihs_axi.c b/drivers/axi/ihs_axi.c index d4f6a4d..a4aee8b 100644 --- a/drivers/axi/ihs_axi.c +++ b/drivers/axi/ihs_axi.c @@ -12,6 +12,7 @@ #include <dm.h> #include <log.h> #include <regmap.h> +#include <linux/delay.h> /** * struct ihs_axi_regs - Structure for the register map of a IHS AXI device diff --git a/drivers/bios_emulator/atibios.c b/drivers/bios_emulator/atibios.c index d1dc35d..9c7f14e 100644 --- a/drivers/bios_emulator/atibios.c +++ b/drivers/bios_emulator/atibios.c @@ -51,6 +51,7 @@ #include <log.h> #include <malloc.h> #include <vbe.h> +#include <linux/delay.h> #include "biosemui.h" /* Length of the BIOS image */ diff --git a/drivers/block/ide.c b/drivers/block/ide.c index 1b7fd49..a766b5c 100644 --- a/drivers/block/ide.c +++ b/drivers/block/ide.c @@ -13,6 +13,7 @@ #include <part.h> #include <watchdog.h> #include <asm/io.h> +#include <linux/delay.h> #ifdef __PPC__ # define EIEIO __asm__ volatile ("eieio") diff --git a/drivers/clk/aspeed/clk_ast2500.c b/drivers/clk/aspeed/clk_ast2500.c index e5b07c7..ccfeded 100644 --- a/drivers/clk/aspeed/clk_ast2500.c +++ b/drivers/clk/aspeed/clk_ast2500.c @@ -11,6 +11,7 @@ #include <asm/arch/scu_ast2500.h> #include <dm/lists.h> #include <dt-bindings/clock/ast2500-scu.h> +#include <linux/delay.h> #include <linux/err.h> /* diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk-hsdk-cgu.c index da50a79..42844d4 100644 --- a/drivers/clk/clk-hsdk-cgu.c +++ b/drivers/clk/clk-hsdk-cgu.c @@ -15,6 +15,7 @@ #include <dm.h> #include <log.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/io.h> #include <asm/arcregs.h> diff --git a/drivers/clk/imx/clk-pll14xx.c b/drivers/clk/imx/clk-pll14xx.c index 1673eb2..c526fc1 100644 --- a/drivers/clk/imx/clk-pll14xx.c +++ b/drivers/clk/imx/clk-pll14xx.c @@ -12,6 +12,7 @@ #include <dm/device.h> #include <dm/devres.h> #include <linux/clk-provider.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/iopoll.h> #include <clk.h> diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c index c52537c..671d4b3 100644 --- a/drivers/clk/mediatek/clk-mtk.c +++ b/drivers/clk/mediatek/clk-mtk.c @@ -11,6 +11,7 @@ #include <div64.h> #include <dm.h> #include <asm/io.h> +#include <linux/delay.h> #include "clk-mtk.h" diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index c9918c1..c540bb0 100644 --- a/drivers/clk/meson/g12a.c +++ b/drivers/clk/meson/g12a.c @@ -15,6 +15,7 @@ #include <syscon.h> #include <div64.h> #include <dt-bindings/clock/g12a-clkc.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/kernel.h> #include "clk_meson.h" diff --git a/drivers/clk/owl/clk_owl.c b/drivers/clk/owl/clk_owl.c index 5607b2b..11b8da1 100644 --- a/drivers/clk/owl/clk_owl.c +++ b/drivers/clk/owl/clk_owl.c @@ -17,6 +17,7 @@ #include <asm/arch-owl/regs_s700.h> #include <dt-bindings/clock/actions,s700-cmu.h> #endif +#include <linux/delay.h> void owl_clk_init(struct owl_clk_priv *priv) { diff --git a/drivers/clk/rockchip/clk_pll.c b/drivers/clk/rockchip/clk_pll.c index 6dab509..83d45c7 100644 --- a/drivers/clk/rockchip/clk_pll.c +++ b/drivers/clk/rockchip/clk_pll.c @@ -12,6 +12,7 @@ #include <asm/arch-rockchip/clock.h> #include <asm/arch-rockchip/hardware.h> #include <div64.h> +#include <linux/delay.h> static struct rockchip_pll_rate_table rockchip_auto_table; diff --git a/drivers/clk/rockchip/clk_px30.c b/drivers/clk/rockchip/clk_px30.c index 04d85b4..b5b46e3 100644 --- a/drivers/clk/rockchip/clk_px30.c +++ b/drivers/clk/rockchip/clk_px30.c @@ -17,6 +17,7 @@ #include <asm/io.h> #include <dm/lists.h> #include <dt-bindings/clock/px30-cru.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/clk/rockchip/clk_rk3036.c b/drivers/clk/rockchip/clk_rk3036.c index 2769652..274572f 100644 --- a/drivers/clk/rockchip/clk_rk3036.c +++ b/drivers/clk/rockchip/clk_rk3036.c @@ -16,6 +16,7 @@ #include <asm/arch-rockchip/hardware.h> #include <dm/lists.h> #include <dt-bindings/clock/rk3036-cru.h> +#include <linux/delay.h> #include <linux/log2.h> #include <linux/stringify.h> diff --git a/drivers/clk/rockchip/clk_rk3128.c b/drivers/clk/rockchip/clk_rk3128.c index 6d19748..61f823e 100644 --- a/drivers/clk/rockchip/clk_rk3128.c +++ b/drivers/clk/rockchip/clk_rk3128.c @@ -17,6 +17,7 @@ #include <bitfield.h> #include <dm/lists.h> #include <dt-bindings/clock/rk3128-cru.h> +#include <linux/delay.h> #include <linux/log2.h> enum { diff --git a/drivers/clk/rockchip/clk_rk3188.c b/drivers/clk/rockchip/clk_rk3188.c index d4df817..11e3bd3 100644 --- a/drivers/clk/rockchip/clk_rk3188.c +++ b/drivers/clk/rockchip/clk_rk3188.c @@ -22,6 +22,7 @@ #include <dm/device-internal.h> #include <dm/lists.h> #include <dm/uclass-internal.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/log2.h> #include <linux/stringify.h> diff --git a/drivers/clk/rockchip/clk_rk322x.c b/drivers/clk/rockchip/clk_rk322x.c index 68c1fbd..912e1f6 100644 --- a/drivers/clk/rockchip/clk_rk322x.c +++ b/drivers/clk/rockchip/clk_rk322x.c @@ -16,6 +16,7 @@ #include <asm/arch-rockchip/hardware.h> #include <dm/lists.h> #include <dt-bindings/clock/rk3228-cru.h> +#include <linux/delay.h> #include <linux/log2.h> #include <linux/stringify.h> diff --git a/drivers/clk/rockchip/clk_rk3288.c b/drivers/clk/rockchip/clk_rk3288.c index b4514bc..3b199bb 100644 --- a/drivers/clk/rockchip/clk_rk3288.c +++ b/drivers/clk/rockchip/clk_rk3288.c @@ -23,6 +23,7 @@ #include <dm/device-internal.h> #include <dm/lists.h> #include <dm/uclass-internal.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/log2.h> #include <linux/stringify.h> diff --git a/drivers/clk/rockchip/clk_rk3328.c b/drivers/clk/rockchip/clk_rk3328.c index 28613a9..6d692ec 100644 --- a/drivers/clk/rockchip/clk_rk3328.c +++ b/drivers/clk/rockchip/clk_rk3328.c @@ -18,6 +18,7 @@ #include <asm/io.h> #include <dm/lists.h> #include <dt-bindings/clock/rk3328-cru.h> +#include <linux/delay.h> struct pll_div { u32 refdiv; diff --git a/drivers/clk/rockchip/clk_rk3368.c b/drivers/clk/rockchip/clk_rk3368.c index 34466b8..d1804c6 100644 --- a/drivers/clk/rockchip/clk_rk3368.c +++ b/drivers/clk/rockchip/clk_rk3368.c @@ -21,6 +21,7 @@ #include <asm/io.h> #include <dm/lists.h> #include <dt-bindings/clock/rk3368-cru.h> +#include <linux/delay.h> #include <linux/stringify.h> #if CONFIG_IS_ENABLED(OF_PLATDATA) diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index dd2834f..2c58814 100644 --- a/drivers/clk/rockchip/clk_rk3399.c +++ b/drivers/clk/rockchip/clk_rk3399.c @@ -20,6 +20,7 @@ #include <asm/arch-rockchip/hardware.h> #include <dm/lists.h> #include <dt-bindings/clock/rk3399-cru.h> +#include <linux/delay.h> #if CONFIG_IS_ENABLED(OF_PLATDATA) struct rk3399_clk_plat { diff --git a/drivers/clk/rockchip/clk_rv1108.c b/drivers/clk/rockchip/clk_rv1108.c index c1d2724..aa1d98c 100644 --- a/drivers/clk/rockchip/clk_rv1108.c +++ b/drivers/clk/rockchip/clk_rv1108.c @@ -18,6 +18,7 @@ #include <asm/arch-rockchip/hardware.h> #include <dm/lists.h> #include <dt-bindings/clock/rv1108-cru.h> +#include <linux/delay.h> #include <linux/stringify.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/clk/sifive/fu540-prci.c b/drivers/clk/sifive/fu540-prci.c index 8847178..67e21b6 100644 --- a/drivers/clk/sifive/fu540-prci.c +++ b/drivers/clk/sifive/fu540-prci.c @@ -35,6 +35,7 @@ #include <div64.h> #include <dm.h> #include <errno.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/math64.h> diff --git a/drivers/ddr/altera/sdram_arria10.c b/drivers/ddr/altera/sdram_arria10.c index 7e8c015..19d5724 100644 --- a/drivers/ddr/altera/sdram_arria10.c +++ b/drivers/ddr/altera/sdram_arria10.c @@ -18,6 +18,7 @@ #include <asm/arch/misc.h> #include <asm/arch/reset_manager.h> #include <asm/arch/sdram.h> +#include <linux/delay.h> #include <linux/kernel.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/ddr/fsl/arm_ddr_gen3.c b/drivers/ddr/fsl/arm_ddr_gen3.c index abe8c11..629ba67 100644 --- a/drivers/ddr/fsl/arm_ddr_gen3.c +++ b/drivers/ddr/fsl/arm_ddr_gen3.c @@ -13,6 +13,7 @@ #include <fsl_immap.h> #include <fsl_ddr.h> #include <asm/arch/clock.h> +#include <linux/delay.h> #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/fsl_ddr_gen4.c b/drivers/ddr/fsl/fsl_ddr_gen4.c index 2b8475f..eab5b82 100644 --- a/drivers/ddr/fsl/fsl_ddr_gen4.c +++ b/drivers/ddr/fsl/fsl_ddr_gen4.c @@ -16,6 +16,7 @@ defined(CONFIG_ARM) #include <asm/arch/clock.h> #endif +#include <linux/delay.h> #define CTLR_INTLV_MASK 0x20000000 diff --git a/drivers/ddr/fsl/fsl_mmdc.c b/drivers/ddr/fsl/fsl_mmdc.c index 0828512..cbd625b 100644 --- a/drivers/ddr/fsl/fsl_mmdc.c +++ b/drivers/ddr/fsl/fsl_mmdc.c @@ -10,6 +10,7 @@ #include <common.h> #include <fsl_mmdc.h> #include <asm/io.h> +#include <linux/delay.h> static void set_wait_for_bits_clear(void *ptr, u32 value, u32 bits) { diff --git a/drivers/ddr/fsl/mpc85xx_ddr_gen1.c b/drivers/ddr/fsl/mpc85xx_ddr_gen1.c index 4b39b17..572f370 100644 --- a/drivers/ddr/fsl/mpc85xx_ddr_gen1.c +++ b/drivers/ddr/fsl/mpc85xx_ddr_gen1.c @@ -7,6 +7,7 @@ #include <log.h> #include <asm/io.h> #include <fsl_ddr_sdram.h> +#include <linux/delay.h> #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/mpc85xx_ddr_gen2.c b/drivers/ddr/fsl/mpc85xx_ddr_gen2.c index 54c10a8..d7b8064 100644 --- a/drivers/ddr/fsl/mpc85xx_ddr_gen2.c +++ b/drivers/ddr/fsl/mpc85xx_ddr_gen2.c @@ -7,6 +7,7 @@ #include <asm/io.h> #include <asm/processor.h> #include <fsl_ddr_sdram.h> +#include <linux/delay.h> #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/mpc85xx_ddr_gen3.c b/drivers/ddr/fsl/mpc85xx_ddr_gen3.c index c6e983b..ab8d2de 100644 --- a/drivers/ddr/fsl/mpc85xx_ddr_gen3.c +++ b/drivers/ddr/fsl/mpc85xx_ddr_gen3.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <fsl_ddr_sdram.h> #include <asm/processor.h> +#include <linux/delay.h> #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/mpc86xx_ddr.c b/drivers/ddr/fsl/mpc86xx_ddr.c index 737a879..43ed1ba 100644 --- a/drivers/ddr/fsl/mpc86xx_ddr.c +++ b/drivers/ddr/fsl/mpc86xx_ddr.c @@ -7,6 +7,7 @@ #include <log.h> #include <asm/io.h> #include <fsl_ddr_sdram.h> +#include <linux/delay.h> #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/util.c b/drivers/ddr/fsl/util.c index 7d6e08d..ac4f8d2 100644 --- a/drivers/ddr/fsl/util.c +++ b/drivers/ddr/fsl/util.c @@ -8,6 +8,7 @@ #include <asm/fsl_law.h> #endif #include <div64.h> +#include <linux/delay.h> #include <fsl_ddr.h> #include <fsl_immap.h> diff --git a/drivers/ddr/marvell/a38x/ddr3_training.c b/drivers/ddr/marvell/a38x/ddr3_training.c index 8d7ac79..34cc170 100644 --- a/drivers/ddr/marvell/a38x/ddr3_training.c +++ b/drivers/ddr/marvell/a38x/ddr3_training.c @@ -8,6 +8,7 @@ #include "mv_ddr_training_db.h" #include "mv_ddr_regs.h" #include <log.h> +#include <linux/delay.h> #define GET_CS_FROM_MASK(mask) (cs_mask2_num[mask]) #define CS_CBE_VALUE(cs_num) (cs_cbe_reg[cs_num]) diff --git a/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c b/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c index 1eababe..979f353 100644 --- a/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c +++ b/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c @@ -7,6 +7,7 @@ #include "mv_ddr_regs.h" #include "ddr_training_ip_db.h" #include <image.h> +#include <linux/delay.h> #define PATTERN_1 0x55555555 #define PATTERN_2 0xaaaaaaaa diff --git a/drivers/ddr/marvell/a38x/ddr3_training_leveling.c b/drivers/ddr/marvell/a38x/ddr3_training_leveling.c index 7f7df67..dadb06b 100644 --- a/drivers/ddr/marvell/a38x/ddr3_training_leveling.c +++ b/drivers/ddr/marvell/a38x/ddr3_training_leveling.c @@ -7,6 +7,7 @@ #include "mv_ddr_training_db.h" #include "ddr_training_ip_db.h" #include "mv_ddr_regs.h" +#include <linux/delay.h> #define WL_ITERATION_NUM 10 diff --git a/drivers/ddr/marvell/a38x/mv_ddr_plat.c b/drivers/ddr/marvell/a38x/mv_ddr_plat.c index cc7942d..72f0dfb 100644 --- a/drivers/ddr/marvell/a38x/mv_ddr_plat.c +++ b/drivers/ddr/marvell/a38x/mv_ddr_plat.c @@ -7,6 +7,7 @@ #include "mv_ddr_training_db.h" #include "mv_ddr_regs.h" #include "mv_ddr_sys_env_lib.h" +#include <linux/delay.h> #define DDR_INTERFACES_NUM 1 #define DDR_INTERFACE_OCTETS_NUM 5 diff --git a/drivers/ddr/marvell/axp/ddr3_dfs.c b/drivers/ddr/marvell/axp/ddr3_dfs.c index ba89959..b58c0fe 100644 --- a/drivers/ddr/marvell/axp/ddr3_dfs.c +++ b/drivers/ddr/marvell/axp/ddr3_dfs.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "ddr3_hw_training.h" diff --git a/drivers/ddr/marvell/axp/ddr3_hw_training.c b/drivers/ddr/marvell/axp/ddr3_hw_training.c index 9dc911c..35d98fa 100644 --- a/drivers/ddr/marvell/axp/ddr3_hw_training.c +++ b/drivers/ddr/marvell/axp/ddr3_hw_training.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "ddr3_init.h" #include "ddr3_hw_training.h" diff --git a/drivers/ddr/marvell/axp/ddr3_init.c b/drivers/ddr/marvell/axp/ddr3_init.c index 8e6d447..607f3e1 100644 --- a/drivers/ddr/marvell/axp/ddr3_init.c +++ b/drivers/ddr/marvell/axp/ddr3_init.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "ddr3_init.h" diff --git a/drivers/ddr/marvell/axp/ddr3_pbs.c b/drivers/ddr/marvell/axp/ddr3_pbs.c index e44f08d..069a42fb 100644 --- a/drivers/ddr/marvell/axp/ddr3_pbs.c +++ b/drivers/ddr/marvell/axp/ddr3_pbs.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "ddr3_hw_training.h" diff --git a/drivers/ddr/marvell/axp/ddr3_write_leveling.c b/drivers/ddr/marvell/axp/ddr3_write_leveling.c index 2061489..d4add44 100644 --- a/drivers/ddr/marvell/axp/ddr3_write_leveling.c +++ b/drivers/ddr/marvell/axp/ddr3_write_leveling.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "ddr3_hw_training.h" diff --git a/drivers/dma/bcm6348-iudma.c b/drivers/dma/bcm6348-iudma.c index cce0c61..9e0e825 100644 --- a/drivers/dma/bcm6348-iudma.c +++ b/drivers/dma/bcm6348-iudma.c @@ -26,6 +26,7 @@ #include <net.h> #include <reset.h> #include <asm/io.h> +#include <linux/delay.h> #define DMA_RX_DESC 6 #define DMA_TX_DESC 1 diff --git a/drivers/dma/keystone_nav.c b/drivers/dma/keystone_nav.c index 3a15121..443e4b2 100644 --- a/drivers/dma/keystone_nav.c +++ b/drivers/dma/keystone_nav.c @@ -8,6 +8,7 @@ #include <common.h> #include <asm/io.h> #include <asm/ti-common/keystone_nav.h> +#include <linux/delay.h> struct qm_config qm_memmap = { .stat_cfg = CONFIG_KSNAV_QM_QUEUE_STATUS_BASE, diff --git a/drivers/dma/lpc32xx_dma.c b/drivers/dma/lpc32xx_dma.c index 1637e32..de96334 100644 --- a/drivers/dma/lpc32xx_dma.c +++ b/drivers/dma/lpc32xx_dma.c @@ -15,6 +15,7 @@ #include <asm/arch/clk.h> #include <asm/arch/sys_proto.h> #include <asm/io.h> +#include <linux/delay.h> /* DMA controller channel register structure */ struct dmac_chan_reg { diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index 1dc179a..e0d66d7 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -13,6 +13,7 @@ #include <log.h> #include <dm/lists.h> #include <efi_loader.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <linux/arm-smccc.h> #include <linux/errno.h> diff --git a/drivers/fpga/ACEX1K.c b/drivers/fpga/ACEX1K.c index 5afd42a..aca8049 100644 --- a/drivers/fpga/ACEX1K.c +++ b/drivers/fpga/ACEX1K.c @@ -10,6 +10,7 @@ #include <common.h> /* core U-Boot definitions */ #include <console.h> #include <ACEX1K.h> /* ACEX device family */ +#include <linux/delay.h> /* Define FPGA_DEBUG to get debug printf's */ #ifdef FPGA_DEBUG diff --git a/drivers/fpga/cyclon2.c b/drivers/fpga/cyclon2.c index c929cd2..3b008fa 100644 --- a/drivers/fpga/cyclon2.c +++ b/drivers/fpga/cyclon2.c @@ -8,6 +8,7 @@ #include <common.h> /* core U-Boot definitions */ #include <altera.h> #include <ACEX1K.h> /* ACEX device family */ +#include <linux/delay.h> /* Define FPGA_DEBUG to get debug printf's */ #ifdef FPGA_DEBUG diff --git a/drivers/fpga/lattice.c b/drivers/fpga/lattice.c index 2cf4a60..e292d99 100644 --- a/drivers/fpga/lattice.c +++ b/drivers/fpga/lattice.c @@ -15,6 +15,7 @@ #include <malloc.h> #include <fpga.h> #include <lattice.h> +#include <linux/delay.h> static lattice_board_specific_func *pfns; static const char *fpga_image; diff --git a/drivers/fpga/socfpga_arria10.c b/drivers/fpga/socfpga_arria10.c index 272f6d5..e142046 100644 --- a/drivers/fpga/socfpga_arria10.c +++ b/drivers/fpga/socfpga_arria10.c @@ -18,6 +18,7 @@ #include <fs_loader.h> #include <wait_bit.h> #include <watchdog.h> +#include <linux/delay.h> #define CFGWDTH_32 1 #define MIN_BITSTREAM_SIZECHECK 230 diff --git a/drivers/fpga/stratix10.c b/drivers/fpga/stratix10.c index 8020510..da8fa31 100644 --- a/drivers/fpga/stratix10.c +++ b/drivers/fpga/stratix10.c @@ -7,6 +7,7 @@ #include <altera.h> #include <log.h> #include <asm/arch/mailbox_s10.h> +#include <linux/delay.h> #define RECONFIG_STATUS_POLL_RESP_TIMEOUT_MS 60000 #define RECONFIG_STATUS_INTERVAL_DELAY_US 1000000 diff --git a/drivers/fpga/stratixII.c b/drivers/fpga/stratixII.c index 4edbfe4..b450a81 100644 --- a/drivers/fpga/stratixII.c +++ b/drivers/fpga/stratixII.c @@ -6,6 +6,7 @@ #include <common.h> /* core U-Boot definitions */ #include <altera.h> +#include <linux/delay.h> int StratixII_ps_fpp_load (Altera_desc * desc, void *buf, size_t bsize, int isSerial, int isSecure); diff --git a/drivers/fpga/stratixv.c b/drivers/fpga/stratixv.c index 650b1b1..abae3b5 100644 --- a/drivers/fpga/stratixv.c +++ b/drivers/fpga/stratixv.c @@ -8,6 +8,7 @@ #include <log.h> #include <spi.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> /* Write the RBF data to FPGA via SPI */ diff --git a/drivers/fpga/virtex2.c b/drivers/fpga/virtex2.c index 3957368..b3e0537 100644 --- a/drivers/fpga/virtex2.c +++ b/drivers/fpga/virtex2.c @@ -15,6 +15,7 @@ #include <common.h> #include <console.h> #include <virtex2.h> +#include <linux/delay.h> #if 0 #define FPGA_DEBUG diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c index e9bf3a6..dcfe513 100644 --- a/drivers/fpga/zynqpl.c +++ b/drivers/fpga/zynqpl.c @@ -14,6 +14,7 @@ #include <asm/io.h> #include <fs.h> #include <zynqpl.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> diff --git a/drivers/i2c/ast_i2c.c b/drivers/i2c/ast_i2c.c index 9e6dc02..214362d 100644 --- a/drivers/i2c/ast_i2c.c +++ b/drivers/i2c/ast_i2c.c @@ -14,6 +14,7 @@ #include <log.h> #include <asm/io.h> #include <asm/arch/scu_ast2500.h> +#include <linux/delay.h> #include <linux/err.h> #include "ast_i2c.h" diff --git a/drivers/i2c/davinci_i2c.c b/drivers/i2c/davinci_i2c.c index f41ea01..f8e9d00 100644 --- a/drivers/i2c/davinci_i2c.c +++ b/drivers/i2c/davinci_i2c.c @@ -18,6 +18,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/i2c_defs.h> #include <asm/io.h> +#include <linux/delay.h> #include "davinci_i2c.h" #ifdef CONFIG_DM_I2C diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 4c4b5e1..42ee7d5 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -13,6 +13,7 @@ #include <pci.h> #include <reset.h> #include <asm/io.h> +#include <linux/delay.h> #include "designware_i2c.h" #include <dm/device_compat.h> #include <linux/err.h> diff --git a/drivers/i2c/exynos_hs_i2c.c b/drivers/i2c/exynos_hs_i2c.c index 59fc9a3..4fc9d90 100644 --- a/drivers/i2c/exynos_hs_i2c.c +++ b/drivers/i2c/exynos_hs_i2c.c @@ -13,6 +13,7 @@ #include <asm/arch/clk.h> #include <asm/arch/cpu.h> #include <asm/arch/pinmux.h> +#include <linux/delay.h> #include "s3c24x0_i2c.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index 7e3c75b..da93345 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c @@ -16,6 +16,7 @@ #include <clk.h> #include <dm.h> #include <mapmem.h> +#include <linux/delay.h> /* The maximum number of microseconds we will wait until another master has * released the bus. If not defined in the board header file, then use a diff --git a/drivers/i2c/i2c-cdns.c b/drivers/i2c/i2c-cdns.c index 642df97..402a664 100644 --- a/drivers/i2c/i2c-cdns.c +++ b/drivers/i2c/i2c-cdns.c @@ -10,6 +10,7 @@ #include <common.h> #include <dm.h> #include <log.h> +#include <linux/delay.h> #include <linux/types.h> #include <linux/io.h> #include <linux/errno.h> diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c index 900017a..cfdeadc 100644 --- a/drivers/i2c/i2c-gpio.c +++ b/drivers/i2c/i2c-gpio.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <log.h> #include <asm/gpio.h> +#include <linux/delay.h> #define DEFAULT_UDELAY 5 #define RETRIES 0 diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index 32aed92..8166df7 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c @@ -15,6 +15,7 @@ #if CONFIG_IS_ENABLED(DM_GPIO) #include <asm/gpio.h> #endif +#include <linux/delay.h> #define I2C_MAX_OFFSET_LEN 4 diff --git a/drivers/i2c/i2c-versatile.c b/drivers/i2c/i2c-versatile.c index f523844..46eb017 100644 --- a/drivers/i2c/i2c-versatile.c +++ b/drivers/i2c/i2c-versatile.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <asm/io.h> #include <clk.h> +#include <linux/delay.h> #include <linux/io.h> #define I2C_CONTROL_REG 0x00 diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c index 674561b..296e01b 100644 --- a/drivers/i2c/ihs_i2c.c +++ b/drivers/i2c/ihs_i2c.c @@ -14,6 +14,7 @@ #endif #include <log.h> #include <asm/unaligned.h> +#include <linux/delay.h> #ifdef CONFIG_DM_I2C struct ihs_i2c_priv { diff --git a/drivers/i2c/kona_i2c.c b/drivers/i2c/kona_i2c.c index 61c4045..4edcba2 100644 --- a/drivers/i2c/kona_i2c.c +++ b/drivers/i2c/kona_i2c.c @@ -9,6 +9,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h> diff --git a/drivers/i2c/meson_i2c.c b/drivers/i2c/meson_i2c.c index 2eb1eba..0a647b8 100644 --- a/drivers/i2c/meson_i2c.c +++ b/drivers/i2c/meson_i2c.c @@ -8,6 +8,7 @@ #include <clk.h> #include <dm.h> #include <i2c.h> +#include <linux/delay.h> #include <linux/err.h> #define I2C_TIMEOUT_MS 100 diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c index 07600c5..584d0a4 100644 --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c @@ -11,6 +11,7 @@ #include <log.h> #include <malloc.h> #include <asm/gpio.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/mv_i2c.c b/drivers/i2c/mv_i2c.c index 88b6295..59675d8 100644 --- a/drivers/i2c/mv_i2c.c +++ b/drivers/i2c/mv_i2c.c @@ -21,6 +21,7 @@ #include <i2c.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include "mv_i2c.h" /* All transfers are described by this data structure */ diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c index bd94ad2..d3cc9b9 100644 --- a/drivers/i2c/mvtwsi.c +++ b/drivers/i2c/mvtwsi.c @@ -10,6 +10,7 @@ #include <common.h> #include <i2c.h> #include <log.h> +#include <linux/delay.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 66a90e4..3b0d27e 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -18,6 +18,7 @@ #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/sys_proto.h> diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index d5be824..8592a81 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -42,6 +42,7 @@ #include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/omap_i2c.h> diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c index b877602..5a90204 100644 --- a/drivers/i2c/rcar_i2c.c +++ b/drivers/i2c/rcar_i2c.c @@ -18,6 +18,7 @@ #include <asm/io.h> #include <wait_bit.h> #include <dm/device_compat.h> +#include <linux/delay.h> #define RCAR_I2C_ICSCR 0x00 /* slave ctrl */ #define RCAR_I2C_ICMCR 0x04 /* master ctrl */ diff --git a/drivers/i2c/rcar_iic.c b/drivers/i2c/rcar_iic.c index 2a82eb0..6b21f6a 100644 --- a/drivers/i2c/rcar_iic.c +++ b/drivers/i2c/rcar_iic.c @@ -14,6 +14,7 @@ #include <dm.h> #include <i2c.h> #include <asm/io.h> +#include <linux/delay.h> struct rcar_iic_priv { void __iomem *base; diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c index 703d9a1..fa6f69f 100644 --- a/drivers/i2c/rk_i2c.c +++ b/drivers/i2c/rk_i2c.c @@ -17,6 +17,7 @@ #include <asm/arch-rockchip/i2c.h> #include <asm/arch-rockchip/periph.h> #include <dm/pinctrl.h> +#include <linux/delay.h> #include <linux/sizes.h> /* i2c timerout */ diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index 5cc5095..f857307 100644 --- a/drivers/i2c/sh_i2c.c +++ b/drivers/i2c/sh_i2c.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index 9ad1c28..1031066 100644 --- a/drivers/i2c/soft_i2c.c +++ b/drivers/i2c/soft_i2c.c @@ -25,6 +25,7 @@ #endif #endif #include <i2c.h> +#include <linux/delay.h> #if defined(CONFIG_SOFT_I2C_GPIO_SCL) # include <asm/gpio.h> diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index 4adac49..18affd0 100644 --- a/drivers/i2c/stm32f7_i2c.c +++ b/drivers/i2c/stm32f7_i2c.c @@ -9,6 +9,7 @@ #include <i2c.h> #include <log.h> #include <reset.h> +#include <linux/delay.h> #include <dm/device.h> #include <linux/err.h> diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c index 09c0be9..65b3734 100644 --- a/drivers/i2c/tegra_i2c.c +++ b/drivers/i2c/tegra_i2c.c @@ -19,6 +19,7 @@ #endif #include <asm/arch/gpio.h> #include <asm/arch-tegra/tegra_i2c.h> +#include <linux/delay.h> #include <linux/err.h> enum i2c_type { diff --git a/drivers/input/i8042.c b/drivers/input/i8042.c index cfd8dc6..7beaccc 100644 --- a/drivers/input/i8042.c +++ b/drivers/input/i8042.c @@ -15,6 +15,7 @@ #include <keyboard.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/input/tegra-kbc.c b/drivers/input/tegra-kbc.c index 40ebb24..3409bb6 100644 --- a/drivers/input/tegra-kbc.c +++ b/drivers/input/tegra-kbc.c @@ -17,6 +17,7 @@ #include <asm/arch/clock.h> #include <asm/arch/funcmux.h> #include <asm/arch-tegra/timer.h> +#include <linux/delay.h> #include <linux/input.h> enum { diff --git a/drivers/led/led_bcm6358.c b/drivers/led/led_bcm6358.c index 56c3d14..307d418 100644 --- a/drivers/led/led_bcm6358.c +++ b/drivers/led/led_bcm6358.c @@ -10,6 +10,7 @@ #include <log.h> #include <asm/io.h> #include <dm/lists.h> +#include <linux/delay.h> #define LEDS_MAX 32 #define LEDS_WAIT 100 diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c index 8e0b41e..422ea6f 100644 --- a/drivers/misc/atsha204a-i2c.c +++ b/drivers/misc/atsha204a-i2c.c @@ -16,6 +16,7 @@ #include <errno.h> #include <atsha204a-i2c.h> #include <log.h> +#include <linux/delay.h> #include <u-boot/crc.h> #define ATSHA204A_TWLO 60 diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 818ad56..a5534b1 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -25,6 +25,7 @@ #include <log.h> #include <malloc.h> #include <spi.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm-generic/gpio.h> diff --git a/drivers/misc/ds4510.c b/drivers/misc/ds4510.c index 0b37e8a..a2a5291 100644 --- a/drivers/misc/ds4510.c +++ b/drivers/misc/ds4510.c @@ -11,6 +11,7 @@ #include <common.h> #include <i2c.h> #include <command.h> +#include <linux/delay.h> #include "ds4510.h" enum { diff --git a/drivers/misc/fsl_iim.c b/drivers/misc/fsl_iim.c index f8075db..85cc3c2 100644 --- a/drivers/misc/fsl_iim.c +++ b/drivers/misc/fsl_iim.c @@ -10,6 +10,7 @@ #include <common.h> #include <fuse.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/misc/fsl_sec_mon.c b/drivers/misc/fsl_sec_mon.c index e9f351d..321bd27 100644 --- a/drivers/misc/fsl_sec_mon.c +++ b/drivers/misc/fsl_sec_mon.c @@ -5,6 +5,7 @@ #include <common.h> #include <fsl_sec_mon.h> +#include <linux/delay.h> static u32 get_sec_mon_state(void) { diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c index ef5f103..ed23a62 100644 --- a/drivers/misc/i2c_eeprom.c +++ b/drivers/misc/i2c_eeprom.c @@ -5,6 +5,7 @@ #include <common.h> #include <eeprom.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/kernel.h> #include <dm.h> diff --git a/drivers/misc/ihs_fpga.c b/drivers/misc/ihs_fpga.c index 71c4226..4923c81 100644 --- a/drivers/misc/ihs_fpga.c +++ b/drivers/misc/ihs_fpga.c @@ -14,6 +14,7 @@ #include <log.h> #include <regmap.h> #include <asm/gpio.h> +#include <linux/delay.h> #include "ihs_fpga.h" diff --git a/drivers/misc/mpc83xx_serdes.c b/drivers/misc/mpc83xx_serdes.c index 2d40621..ab1e34e 100644 --- a/drivers/misc/mpc83xx_serdes.c +++ b/drivers/misc/mpc83xx_serdes.c @@ -14,6 +14,7 @@ #include <log.h> #include <mapmem.h> #include <misc.h> +#include <linux/delay.h> #include "mpc83xx_serdes.h" diff --git a/drivers/misc/mxc_ocotp.c b/drivers/misc/mxc_ocotp.c index 80cd8dc..926c62c 100644 --- a/drivers/misc/mxc_ocotp.c +++ b/drivers/misc/mxc_ocotp.c @@ -13,6 +13,7 @@ #include <common.h> #include <fuse.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/misc/mxs_ocotp.c b/drivers/misc/mxs_ocotp.c index 21cae02..facc720 100644 --- a/drivers/misc/mxs_ocotp.c +++ b/drivers/misc/mxs_ocotp.c @@ -13,6 +13,7 @@ #include <common.h> #include <fuse.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/mmc/arm_pl180_mmci.c b/drivers/mmc/arm_pl180_mmci.c index 8c95229..8466228 100644 --- a/drivers/mmc/arm_pl180_mmci.c +++ b/drivers/mmc/arm_pl180_mmci.c @@ -23,6 +23,7 @@ #include <asm-generic/gpio.h> #include "arm_pl180_mmci.h" +#include <linux/delay.h> #ifdef CONFIG_DM_MMC #include <dm.h> diff --git a/drivers/mmc/bcm2835_sdhost.c b/drivers/mmc/bcm2835_sdhost.c index d44799b..52bb39a 100644 --- a/drivers/mmc/bcm2835_sdhost.c +++ b/drivers/mmc/bcm2835_sdhost.c @@ -39,6 +39,7 @@ #include <dm/device_compat.h> #include <linux/bug.h> #include <linux/compat.h> +#include <linux/delay.h> #include <linux/io.h> #include <linux/iopoll.h> #include <linux/sizes.h> diff --git a/drivers/mmc/davinci_mmc.c b/drivers/mmc/davinci_mmc.c index ef5cd4e..2408a68 100644 --- a/drivers/mmc/davinci_mmc.c +++ b/drivers/mmc/davinci_mmc.c @@ -16,6 +16,7 @@ #include <asm/io.h> #include <asm/arch/sdmmc_defs.h> #include <asm-generic/gpio.h> +#include <linux/delay.h> #define DAVINCI_MAX_BLOCKS (32) #define WATCHDOG_COUNT (100000) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index ba93c26..7702f4b 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_mmc.c @@ -16,6 +16,7 @@ #include <dwmmc.h> #include <wait_bit.h> #include <asm/cache.h> +#include <linux/delay.h> #include <power/regulator.h> #define PAGE_SIZE 4096 diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index a35e791..665eb9a 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -24,6 +24,7 @@ #include <asm/io.h> #include <dm.h> #include <dm/device_compat.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 27c8632..1d040f6 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -22,6 +22,7 @@ #include <part.h> #include <asm/cache.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <power/regulator.h> #include <malloc.h> diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c index 6ec454c..9d20e28 100644 --- a/drivers/mmc/gen_atmel_mci.c +++ b/drivers/mmc/gen_atmel_mci.c @@ -16,6 +16,7 @@ #include <part.h> #include <malloc.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/byteorder.h> #include <asm/arch/clk.h> diff --git a/drivers/mmc/iproc_sdhci.c b/drivers/mmc/iproc_sdhci.c index c2319b4..91e2e3f 100644 --- a/drivers/mmc/iproc_sdhci.c +++ b/drivers/mmc/iproc_sdhci.c @@ -9,6 +9,7 @@ #include <errno.h> #include <malloc.h> #include <sdhci.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c index 8d4f886..83ae1e5 100644 --- a/drivers/mmc/jz_mmc.c +++ b/drivers/mmc/jz_mmc.c @@ -13,6 +13,7 @@ #include <asm/unaligned.h> #include <errno.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <mach/jz4780.h> #include <wait_bit.h> diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c index f5e1f2c..2bbe673 100644 --- a/drivers/mmc/kona_sdhci.c +++ b/drivers/mmc/kona_sdhci.c @@ -6,6 +6,7 @@ #include <common.h> #include <malloc.h> #include <sdhci.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/kona-common/clk.h> diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc/meson_gx_mmc.c index 86c1a71..b7f793c 100644 --- a/drivers/mmc/meson_gx_mmc.c +++ b/drivers/mmc/meson_gx_mmc.c @@ -14,6 +14,7 @@ #include <asm/io.h> #include <asm/gpio.h> #include <asm/arch/sd_emmc.h> +#include <linux/delay.h> #include <linux/log2.h> static inline void *get_regbase(const struct mmc *mmc) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index df550e2..02494db 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -16,6 +16,7 @@ #include <errno.h> #include <mmc.h> #include <part.h> +#include <linux/delay.h> #include <power/regulator.h> #include <malloc.h> #include <memalign.h> diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c index 17f1ebf..ad2c0e0 100644 --- a/drivers/mmc/mxsmmc.c +++ b/drivers/mmc/mxsmmc.c @@ -24,6 +24,7 @@ #include <log.h> #include <malloc.h> #include <mmc.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index 492bf58..0c21ec7 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -50,6 +50,7 @@ #endif #include <dm.h> #include <dm/devres.h> +#include <linux/delay.h> #include <linux/err.h> #include <power/regulator.h> #include <thermal.h> diff --git a/drivers/mmc/pxa_mmc_gen.c b/drivers/mmc/pxa_mmc_gen.c index a4dcdb5..cc60147 100644 --- a/drivers/mmc/pxa_mmc_gen.c +++ b/drivers/mmc/pxa_mmc_gen.c @@ -8,6 +8,7 @@ #include <common.h> #include <asm/arch/hardware.h> #include <asm/arch/regs-mmc.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <malloc.h> diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index 33bb5dc..6682229 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -13,6 +13,7 @@ #include <dm.h> #include <dm/device_compat.h> #include <linux/compat.h> +#include <linux/delay.h> #include <linux/dma-direction.h> #include <linux/io.h> #include <linux/sizes.h> diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c index d1b293a..638107a 100644 --- a/drivers/mmc/rockchip_dw_mmc.c +++ b/drivers/mmc/rockchip_dw_mmc.c @@ -16,6 +16,7 @@ #include <asm/gpio.h> #include <asm/arch-rockchip/clock.h> #include <asm/arch-rockchip/periph.h> +#include <linux/delay.h> #include <linux/err.h> struct rockchip_mmc_plat { diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index ee942bb..73142db 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -17,6 +17,7 @@ #include <sdhci.h> #include <dm.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/dma-mapping.h> #include <phys2bus.h> diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c index bc94d01..1a01fe5 100644 --- a/drivers/mmc/sh_mmcif.c +++ b/drivers/mmc/sh_mmcif.c @@ -15,6 +15,7 @@ #include <dm.h> #include <malloc.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/compat.h> #include <linux/io.h> diff --git a/drivers/mmc/sh_sdhi.c b/drivers/mmc/sh_sdhi.c index 54bd687..22a0f78 100644 --- a/drivers/mmc/sh_sdhi.c +++ b/drivers/mmc/sh_sdhi.c @@ -16,6 +16,7 @@ #include <dm.h> #include <part.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/compat.h> #include <linux/io.h> diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c index 87cee53..b802316 100644 --- a/drivers/mmc/stm32_sdmmc2.c +++ b/drivers/mmc/stm32_sdmmc2.c @@ -12,6 +12,7 @@ #include <log.h> #include <malloc.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <mmc.h> #include <reset.h> diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index 2903d89..0e03b07 100644 --- a/drivers/mmc/sunxi_mmc.c +++ b/drivers/mmc/sunxi_mmc.c @@ -21,6 +21,7 @@ #include <asm/arch/gpio.h> #include <asm/arch/mmc.h> #include <asm-generic/gpio.h> +#include <linux/delay.h> #ifdef CONFIG_DM_MMC struct sunxi_mmc_variant { diff --git a/drivers/mmc/tegra_mmc.c b/drivers/mmc/tegra_mmc.c index 731a519..7883868 100644 --- a/drivers/mmc/tegra_mmc.c +++ b/drivers/mmc/tegra_mmc.c @@ -15,6 +15,7 @@ #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch-tegra/tegra_mmc.h> +#include <linux/delay.h> #include <linux/err.h> #if defined(CONFIG_TEGRA30) || defined(CONFIG_TEGRA210) #include <asm/arch/clock.h> diff --git a/drivers/mmc/tmio-common.c b/drivers/mmc/tmio-common.c index 1dc13db..20cd237 100644 --- a/drivers/mmc/tmio-common.c +++ b/drivers/mmc/tmio-common.c @@ -13,6 +13,7 @@ #include <dm/device_compat.h> #include <dm/pinctrl.h> #include <linux/compat.h> +#include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/io.h> #include <linux/sizes.h> diff --git a/drivers/mmc/xenon_sdhci.c b/drivers/mmc/xenon_sdhci.c index 829b756..7dc6000 100644 --- a/drivers/mmc/xenon_sdhci.c +++ b/drivers/mmc/xenon_sdhci.c @@ -17,6 +17,7 @@ #include <common.h> #include <dm.h> #include <fdtdec.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <malloc.h> #include <sdhci.h> diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 2f46f17..de404aa 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -9,6 +9,7 @@ #include <common.h> #include <dm.h> #include <fdtdec.h> +#include <linux/delay.h> #include "mmc_private.h" #include <log.h> #include <dm/device_compat.h> 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> diff --git a/drivers/net/ag7xxx.c b/drivers/net/ag7xxx.c index 38f3cba..0fe140c 100644 --- a/drivers/net/ag7xxx.c +++ b/drivers/net/ag7xxx.c @@ -17,6 +17,7 @@ #include <net.h> #include <asm/cache.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/mii.h> #include <wait_bit.h> diff --git a/drivers/net/armada100_fec.c b/drivers/net/armada100_fec.c index 828f978..3ee119b 100644 --- a/drivers/net/armada100_fec.c +++ b/drivers/net/armada100_fec.c @@ -17,6 +17,7 @@ #include <netdev.h> #include <asm/types.h> #include <asm/byteorder.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/mii.h> #include <asm/io.h> diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c index fc227ed..4e4ad61 100644 --- a/drivers/net/at91_emac.c +++ b/drivers/net/at91_emac.c @@ -18,6 +18,7 @@ #include <netdev.h> #include <malloc.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/mii.h> #undef MII_DEBUG diff --git a/drivers/net/ax88180.c b/drivers/net/ax88180.c index 2715653..28cb412 100644 --- a/drivers/net/ax88180.c +++ b/drivers/net/ax88180.c @@ -42,6 +42,7 @@ #include <log.h> #include <net.h> #include <malloc.h> +#include <linux/delay.h> #include <linux/mii.h> #include "ax88180.h" diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index 01c1ae2..d161f0e 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c @@ -3,6 +3,7 @@ * (c) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> */ #include <common.h> +#include <linux/delay.h> #include "ax88796.h" /* diff --git a/drivers/net/bcm-sf2-eth-gmac.c b/drivers/net/bcm-sf2-eth-gmac.c index eaadb26..f57861e 100644 --- a/drivers/net/bcm-sf2-eth-gmac.c +++ b/drivers/net/bcm-sf2-eth-gmac.c @@ -18,6 +18,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <phy.h> +#include <linux/delay.h> #include "bcm-sf2-eth.h" #include "bcm-sf2-eth-gmac.h" diff --git a/drivers/net/bcm-sf2-eth.c b/drivers/net/bcm-sf2-eth.c index c8393c5..2998d57 100644 --- a/drivers/net/bcm-sf2-eth.c +++ b/drivers/net/bcm-sf2-eth.c @@ -8,6 +8,7 @@ #include <malloc.h> #include <net.h> #include <config.h> +#include <linux/delay.h> #include <phy.h> #include <miiphy.h> diff --git a/drivers/net/bcm6368-eth.c b/drivers/net/bcm6368-eth.c index db573c0..648fafd 100644 --- a/drivers/net/bcm6368-eth.c +++ b/drivers/net/bcm6368-eth.c @@ -18,6 +18,7 @@ #include <wait_bit.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #define ETH_PORT_STR "brcm,enetsw-port" diff --git a/drivers/net/bcmgenet.c b/drivers/net/bcmgenet.c index 1ef8e8e..d09f17d 100644 --- a/drivers/net/bcmgenet.c +++ b/drivers/net/bcmgenet.c @@ -23,6 +23,7 @@ #include <cpu_func.h> #include <dm.h> #include <fdt_support.h> +#include <linux/delay.h> #include <linux/err.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/calxedaxgmac.c b/drivers/net/calxedaxgmac.c index 0dd64e4..5dad69c 100644 --- a/drivers/net/calxedaxgmac.c +++ b/drivers/net/calxedaxgmac.c @@ -7,6 +7,7 @@ #include <malloc.h> #include <net.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <linux/err.h> #include <asm/io.h> diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c index f840e11..7ec95be 100644 --- a/drivers/net/cs8900.c +++ b/drivers/net/cs8900.c @@ -29,6 +29,7 @@ #include <asm/io.h> #include <net.h> #include <malloc.h> +#include <linux/delay.h> #include "cs8900.h" #undef DEBUG diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c index d008696..611a8c4 100644 --- a/drivers/net/dc2114x.c +++ b/drivers/net/dc2114x.c @@ -6,6 +6,7 @@ #include <net.h> #include <netdev.h> #include <pci.h> +#include <linux/delay.h> #define SROM_DLEVEL 0 diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 1eda9c3..b89a68a 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -23,6 +23,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/kernel.h> #include <asm/io.h> diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index a6c0a24..d575a62 100644 --- a/drivers/net/dm9000x.c +++ b/drivers/net/dm9000x.c @@ -54,6 +54,7 @@ TODO: external MII is not functional, only internal at the moment. #include <net.h> #include <asm/io.h> #include <dm9000.h> +#include <linux/delay.h> #include "dm9000x.h" diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c index 35c2ed9..98e9b2c 100644 --- a/drivers/net/dnet.c +++ b/drivers/net/dnet.c @@ -10,6 +10,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #ifndef CONFIG_DNET_AUTONEG_TIMEOUT #define CONFIG_DNET_AUTONEG_TIMEOUT 5000000 /* default value */ diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 1cf1ff5..789ac2e 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -48,6 +48,7 @@ #include <asm/arch/clock.h> #include <asm/mach-imx/sys_proto.h> #endif +#include <linux/delay.h> /* Core registers */ diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 6c13585..008da4a 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -39,6 +39,7 @@ tested on both gig copper and gig fiber boards #include <memalign.h> #include <net.h> #include <pci.h> +#include <linux/delay.h> #include "e1000.h" #include <asm/cache.h> diff --git a/drivers/net/e1000_spi.c b/drivers/net/e1000_spi.c index dcb561f..4fcc65d 100644 --- a/drivers/net/e1000_spi.c +++ b/drivers/net/e1000_spi.c @@ -1,6 +1,7 @@ #include <common.h> #include <command.h> #include <console.h> +#include <linux/delay.h> #include "e1000.h" #include <malloc.h> #include <linux/compiler.h> diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c index 36a9d4d..e186ab4 100644 --- a/drivers/net/eepro100.c +++ b/drivers/net/eepro100.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <pci.h> #include <miiphy.h> +#include <linux/delay.h> #undef DEBUG diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 4c6eb64..9ae2db0 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -18,6 +18,7 @@ #include <net.h> #include <netdev.h> #include <asm/cache.h> +#include <linux/delay.h> #include <power/regulator.h> #include <asm/io.h> diff --git a/drivers/net/fm/dtsec.c b/drivers/net/fm/dtsec.c index 4c78a4d..c51a65c 100644 --- a/drivers/net/fm/dtsec.c +++ b/drivers/net/fm/dtsec.c @@ -9,6 +9,7 @@ #include <fsl_dtsec.h> #include <fsl_mdio.h> #include <phy.h> +#include <linux/delay.h> #include "fm.h" diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index f3ce2ac..81a4cf2 100644 --- a/drivers/net/fm/eth.c +++ b/drivers/net/fm/eth.c @@ -24,6 +24,7 @@ #include <fsl_dtsec.h> #include <fsl_tgec.h> #include <fsl_memac.h> +#include <linux/delay.h> #include "fm.h" diff --git a/drivers/net/fm/tgec.c b/drivers/net/fm/tgec.c index 9f2f6f6..9cc9f3f 100644 --- a/drivers/net/fm/tgec.c +++ b/drivers/net/fm/tgec.c @@ -12,6 +12,7 @@ #include <asm/types.h> #include <asm/io.h> #include <fsl_tgec.h> +#include <linux/delay.h> #include "fm.h" diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c index 3b44abc..1c03427 100644 --- a/drivers/net/fsl-mc/mc.c +++ b/drivers/net/fsl-mc/mc.c @@ -13,6 +13,7 @@ #include <malloc.h> #include <linux/bug.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <net.h> #include <fdt_support.h> diff --git a/drivers/net/fsl-mc/mc_sys.c b/drivers/net/fsl-mc/mc_sys.c index fddf5cb..b5ae2ea 100644 --- a/drivers/net/fsl-mc/mc_sys.c +++ b/drivers/net/fsl-mc/mc_sys.c @@ -11,6 +11,7 @@ #include <common.h> #include <errno.h> #include <asm/io.h> +#include <linux/delay.h> #define MC_CMD_HDR_READ_CMDID(_hdr) \ ((uint16_t)mc_dec((_hdr), MC_CMD_HDR_CMDID_O, MC_CMD_HDR_CMDID_S)) diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index b47b272..2929ae7 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -16,6 +16,7 @@ #include <pci.h> #include <miiphy.h> #include <linux/bug.h> +#include <linux/delay.h> #include "fsl_enetc.h" diff --git a/drivers/net/fsl_mcdmafec.c b/drivers/net/fsl_mcdmafec.c index 45954ce..73e92b7 100644 --- a/drivers/net/fsl_mcdmafec.c +++ b/drivers/net/fsl_mcdmafec.c @@ -18,6 +18,7 @@ #include <config.h> #include <net.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/mii.h> #include <asm/immap.h> #include <asm/fsl_mcdmafec.h> diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index 24bb45f..4aae7c4 100644 --- a/drivers/net/ftmac100.c +++ b/drivers/net/ftmac100.c @@ -12,6 +12,7 @@ #include <env.h> #include <malloc.h> #include <net.h> +#include <linux/delay.h> #include <linux/io.h> #include "ftmac100.h" diff --git a/drivers/net/higmacv300.c b/drivers/net/higmacv300.c index ea9f947..1ec9864 100644 --- a/drivers/net/higmacv300.c +++ b/drivers/net/higmacv300.c @@ -11,6 +11,7 @@ #include <common.h> #include <console.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/mii.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c index 8fcb63d..6643d1e 100644 --- a/drivers/net/ks8851_mll.c +++ b/drivers/net/ks8851_mll.c @@ -11,6 +11,7 @@ #include <malloc.h> #include <net.h> #include <miiphy.h> +#include <linux/delay.h> #include "ks8851_mll.h" diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c index 1989b66..13900f1 100644 --- a/drivers/net/lan91c96.c +++ b/drivers/net/lan91c96.c @@ -48,6 +48,7 @@ #include <command.h> #include <env.h> #include <malloc.h> +#include <linux/delay.h> #include "lan91c96.h" #include <net.h> #include <linux/compiler.h> diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b/drivers/net/ldpaa_eth/ldpaa_eth.c index 66bfafe..116b307 100644 --- a/drivers/net/ldpaa_eth/ldpaa_eth.c +++ b/drivers/net/ldpaa_eth/ldpaa_eth.c @@ -17,6 +17,7 @@ #include <linux/bug.h> #include <linux/compat.h> #include <fsl-mc/fsl_dpmac.h> +#include <linux/delay.h> #include <fsl-mc/ldpaa_wriop.h> #include "ldpaa_eth.h" diff --git a/drivers/net/lpc32xx_eth.c b/drivers/net/lpc32xx_eth.c index 604f676..f68daaa 100644 --- a/drivers/net/lpc32xx_eth.c +++ b/drivers/net/lpc32xx_eth.c @@ -12,6 +12,7 @@ #include <malloc.h> #include <miiphy.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/types.h> #include <asm/system.h> diff --git a/drivers/net/macb.c b/drivers/net/macb.c index ddd1c06..424ca59 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -7,6 +7,7 @@ #include <cpu_func.h> #include <dm.h> #include <log.h> +#include <linux/delay.h> /* * The u-boot networking stack is a little weird. It seems like the diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 8caf0ba..6975493 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -19,6 +19,7 @@ #include <miiphy.h> #include <asm/fec.h> #include <asm/immap.h> +#include <linux/delay.h> #include <linux/mii.h> #undef ET_DEBUG diff --git a/drivers/net/mcfmii.c b/drivers/net/mcfmii.c index 3b8ee07..3936055 100644 --- a/drivers/net/mcfmii.c +++ b/drivers/net/mcfmii.c @@ -8,6 +8,7 @@ #include <config.h> #include <net.h> #include <netdev.h> +#include <linux/delay.h> #ifdef CONFIG_MCF547x_8x #include <asm/fsl_mcdmafec.h> diff --git a/drivers/net/mpc8xx_fec.c b/drivers/net/mpc8xx_fec.c index 69b2174..f9f7dd7 100644 --- a/drivers/net/mpc8xx_fec.c +++ b/drivers/net/mpc8xx_fec.c @@ -12,6 +12,7 @@ #include <netdev.h> #include <asm/cpm_8xx.h> #include <asm/io.h> +#include <linux/delay.h> #include <phy.h> #include <linux/mii.h> diff --git a/drivers/net/mscc_eswitch/jr2_switch.c b/drivers/net/mscc_eswitch/jr2_switch.c index 33dd002..76823c6 100644 --- a/drivers/net/mscc_eswitch/jr2_switch.c +++ b/drivers/net/mscc_eswitch/jr2_switch.c @@ -10,6 +10,7 @@ #include <dm/of_access.h> #include <dm/of_addr.h> #include <fdt_support.h> +#include <linux/delay.h> #include <linux/io.h> #include <linux/ioport.h> #include <miiphy.h> diff --git a/drivers/net/mscc_eswitch/mscc_xfer.c b/drivers/net/mscc_eswitch/mscc_xfer.c index 447b537..01eb204 100644 --- a/drivers/net/mscc_eswitch/mscc_xfer.c +++ b/drivers/net/mscc_eswitch/mscc_xfer.c @@ -4,6 +4,7 @@ */ #include <log.h> +#include <linux/delay.h> #include <linux/io.h> #include "mscc_xfer.h" diff --git a/drivers/net/mt7628-eth.c b/drivers/net/mt7628-eth.c index 8110af2..a2e022d 100644 --- a/drivers/net/mt7628-eth.c +++ b/drivers/net/mt7628-eth.c @@ -25,6 +25,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <linux/bitfield.h> +#include <linux/delay.h> #include <linux/err.h> /* Ethernet frame engine register */ diff --git a/drivers/net/mtk_eth.c b/drivers/net/mtk_eth.c index c0cabd9..86f1360 100644 --- a/drivers/net/mtk_eth.c +++ b/drivers/net/mtk_eth.c @@ -21,6 +21,7 @@ #include <asm/gpio.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/ioport.h> #include <linux/mdio.h> diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index b661cd3..7974dfc 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c @@ -19,6 +19,7 @@ #include <miiphy.h> #include <wait_bit.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/types.h> #include <asm/system.h> diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index f593aa6..f9aef17 100644 --- a/drivers/net/mvneta.c +++ b/drivers/net/mvneta.c @@ -25,6 +25,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/errno.h> #include <phy.h> #include <miiphy.h> diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index 8391428..ebe67e4 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -27,6 +27,7 @@ #include <malloc.h> #include <asm/io.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/errno.h> #include <phy.h> diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 86f6898..bf6fa8f 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c @@ -56,6 +56,7 @@ #include <netdev.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> /* defines */ #define EEPROM_SIZE 0xb /*12 16-bit chunks, or 24 bytes*/ diff --git a/drivers/net/ne2000.c b/drivers/net/ne2000.c index e6cd3e9..28a99bb 100644 --- a/drivers/net/ne2000.c +++ b/drivers/net/ne2000.c @@ -74,6 +74,7 @@ Add SNMP #include <common.h> #include <command.h> +#include <linux/delay.h> /* NE2000 base header file */ #include "ne2000_base.h" diff --git a/drivers/net/ne2000_base.h b/drivers/net/ne2000_base.h index eee0956..2493608 100644 --- a/drivers/net/ne2000_base.h +++ b/drivers/net/ne2000_base.h @@ -106,6 +106,7 @@ are GPL, so this is, of course, GPL. #endif /* timeout for tx/rx in s */ +#include <linux/delay.h> #define TOUT 5 /* Ether MAC address size */ #define ETHER_ADDR_LEN 6 diff --git a/drivers/net/ns8382x.c b/drivers/net/ns8382x.c index 9ef3bae..c292aba 100644 --- a/drivers/net/ns8382x.c +++ b/drivers/net/ns8382x.c @@ -57,6 +57,7 @@ #include <netdev.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> /* defines */ #define DSIZE 0x00000FFF diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c index a592ec0..1daafbe 100644 --- a/drivers/net/pch_gbe.c +++ b/drivers/net/pch_gbe.c @@ -14,6 +14,7 @@ #include <asm/io.h> #include <pci.h> #include <miiphy.h> +#include <linux/delay.h> #include "pch_gbe.h" #if !defined(CONFIG_PHYLIB) diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index 39cce05..260a5a3 100644 --- a/drivers/net/pcnet.c +++ b/drivers/net/pcnet.c @@ -15,6 +15,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> #define PCNET_DEBUG_LEVEL 0 /* 0=off, 1=init, 2=rx/tx */ diff --git a/drivers/net/pfe_eth/pfe_cmd.c b/drivers/net/pfe_eth/pfe_cmd.c index 66c8cca..1e69525 100644 --- a/drivers/net/pfe_eth/pfe_cmd.c +++ b/drivers/net/pfe_eth/pfe_cmd.c @@ -12,6 +12,7 @@ #include <common.h> #include <command.h> #include <log.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> static inline void pfe_command_help(void) diff --git a/drivers/net/pfe_eth/pfe_driver.c b/drivers/net/pfe_eth/pfe_driver.c index e5edfbe..6f443b4 100644 --- a/drivers/net/pfe_eth/pfe_driver.c +++ b/drivers/net/pfe_eth/pfe_driver.c @@ -6,6 +6,7 @@ #include <log.h> #include <malloc.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe_firmware.h> diff --git a/drivers/net/pfe_eth/pfe_eth.c b/drivers/net/pfe_eth/pfe_eth.c index 4aa5ac4..718e24f 100644 --- a/drivers/net/pfe_eth/pfe_eth.c +++ b/drivers/net/pfe_eth/pfe_eth.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <dm/platform_data/pfe_dm_eth.h> #include <net.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe_mdio.h> diff --git a/drivers/net/pfe_eth/pfe_mdio.c b/drivers/net/pfe_eth/pfe_mdio.c index 2f88f5d..3228b8d 100644 --- a/drivers/net/pfe_eth/pfe_mdio.c +++ b/drivers/net/pfe_eth/pfe_mdio.c @@ -9,6 +9,7 @@ #include <malloc.h> #include <dm/platform_data/pfe_dm_eth.h> #include <net.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> extern struct gemac_s gem_info[]; diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index 75396de..8b1cad8 100644 --- a/drivers/net/phy/aquantia.c +++ b/drivers/net/phy/aquantia.c @@ -11,6 +11,7 @@ #include <log.h> #include <net.h> #include <phy.h> +#include <linux/delay.h> #include <u-boot/crc.h> #include <malloc.h> #include <asm/byteorder.h> diff --git a/drivers/net/phy/b53.c b/drivers/net/phy/b53.c index f039f89..25dbf21 100644 --- a/drivers/net/phy/b53.c +++ b/drivers/net/phy/b53.c @@ -24,6 +24,7 @@ #include <common.h> #include <command.h> +#include <linux/delay.h> #include <errno.h> #include <malloc.h> diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index 3399fd2..566fcb8 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -7,6 +7,7 @@ */ #include <common.h> #include <phy.h> +#include <linux/delay.h> /* Broadcom BCM54xx -- taken from linux sungem_phy */ #define MIIM_BCM54xx_AUXCNTL 0x18 diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c index ecaa2b9..dbc20b1 100644 --- a/drivers/net/phy/cortina.c +++ b/drivers/net/phy/cortina.c @@ -12,6 +12,7 @@ #include <log.h> #include <malloc.h> #include <linux/ctype.h> +#include <linux/delay.h> #include <linux/string.h> #include <linux/err.h> #include <phy.h> diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 93cf44a..be5e3dc 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -8,6 +8,7 @@ #include <common.h> #include <errno.h> #include <phy.h> +#include <linux/delay.h> #define PHY_AUTONEGOTIATE_TIMEOUT 5000 diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/net/phy/mv88e61xx.c index cbc3650..3f8aa7c 100644 --- a/drivers/net/phy/mv88e61xx.c +++ b/drivers/net/phy/mv88e61xx.c @@ -31,6 +31,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <bitfield.h> #include <errno.h> diff --git a/drivers/net/phy/mv88e6352.c b/drivers/net/phy/mv88e6352.c index e2261d6..62a7f19 100644 --- a/drivers/net/phy/mv88e6352.c +++ b/drivers/net/phy/mv88e6352.c @@ -8,6 +8,7 @@ #include <command.h> #include <log.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/errno.h> #include <mv88e6352.h> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 6c4381e..6b6497c 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -17,6 +17,7 @@ #include <miiphy.h> #include <phy.h> #include <errno.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/compiler.h> diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index 8f0a897..b4612c1 100644 --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c @@ -9,6 +9,7 @@ #include <common.h> #include <linux/bitops.h> #include <phy.h> +#include <linux/delay.h> #define PHY_RTL8211x_FORCE_MASTER BIT(1) #define PHY_RTL8211E_PINE64_GIGABIT_FIX BIT(2) diff --git a/drivers/net/phy/teranetics.c b/drivers/net/phy/teranetics.c index 49d6a1a..60049c2 100644 --- a/drivers/net/phy/teranetics.c +++ b/drivers/net/phy/teranetics.c @@ -7,6 +7,7 @@ */ #include <common.h> #include <phy.h> +#include <linux/delay.h> #ifndef CONFIG_PHYLIB_10G #error The Teranetics PHY needs 10G support diff --git a/drivers/net/pic32_eth.c b/drivers/net/pic32_eth.c index d367a1f..6a20849 100644 --- a/drivers/net/pic32_eth.c +++ b/drivers/net/pic32_eth.c @@ -15,6 +15,7 @@ #include <time.h> #include <wait_bit.h> #include <asm/gpio.h> +#include <linux/delay.h> #include <linux/mii.h> #include "pic32_eth.h" diff --git a/drivers/net/pic32_mdio.c b/drivers/net/pic32_mdio.c index 1aa5b1d..d4049cf 100644 --- a/drivers/net/pic32_mdio.c +++ b/drivers/net/pic32_mdio.c @@ -11,6 +11,7 @@ #include <errno.h> #include <wait_bit.h> #include <asm/io.h> +#include <linux/delay.h> #include "pic32_eth.h" static int pic32_mdio_write(struct mii_dev *bus, diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index fae72a1..3dab91b 100644 --- a/drivers/net/ravb.c +++ b/drivers/net/ravb.c @@ -17,6 +17,7 @@ #include <miiphy.h> #include <malloc.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/mii.h> #include <wait_bit.h> #include <asm/io.h> diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index e87ee26..fd2454b 100644 --- a/drivers/net/rtl8139.c +++ b/drivers/net/rtl8139.c @@ -76,6 +76,7 @@ #include <netdev.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> #include <linux/types.h> #define RTL_TIMEOUT 100000 diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index c341343..75058fd 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net/rtl8169.c @@ -53,6 +53,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> #undef DEBUG_RTL8169 #undef DEBUG_RTL8169_TX diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 1ad3d05..b26fc7b 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -18,6 +18,7 @@ #include <netdev.h> #include <miiphy.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c index 52bbf05..23265ef 100644 --- a/drivers/net/smc91111.c +++ b/drivers/net/smc91111.c @@ -51,6 +51,7 @@ #include <command.h> #include <config.h> #include <malloc.h> +#include <linux/delay.h> #include "smc91111.h" #include <net.h> diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 45ecd6a..9d2790e 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -11,6 +11,7 @@ #include <net.h> #include <miiphy.h> #include <linux/io.h> +#include <linux/delay.h> #include <linux/types.h> #include "smc911x.h" diff --git a/drivers/net/sni_ave.c b/drivers/net/sni_ave.c index 8f651fa..92b4a65 100644 --- a/drivers/net/sni_ave.c +++ b/drivers/net/sni_ave.c @@ -17,6 +17,7 @@ #include <syscon.h> #include <asm/cache.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/io.h> #include <linux/iopoll.h> diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index c24ab83..45ac118 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -21,6 +21,7 @@ #include <dm.h> #include <fdt_support.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 26c7506..6364beb 100644 --- a/drivers/net/sunxi_emac.c +++ b/drivers/net/sunxi_emac.c @@ -10,6 +10,7 @@ #include <dm.h> #include <log.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/ti/cpsw_mdio.c b/drivers/net/ti/cpsw_mdio.c index fb93548..e77a2ff 100644 --- a/drivers/net/ti/cpsw_mdio.c +++ b/drivers/net/ti/cpsw_mdio.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <miiphy.h> #include <wait_bit.h> +#include <linux/delay.h> struct cpsw_mdio_regs { u32 version; diff --git a/drivers/net/ti/davinci_emac.c b/drivers/net/ti/davinci_emac.c index 8047974..56ea1fe 100644 --- a/drivers/net/ti/davinci_emac.c +++ b/drivers/net/ti/davinci_emac.c @@ -32,6 +32,7 @@ #include <linux/compiler.h> #include <asm/arch/emac_defs.h> #include <asm/io.h> +#include <linux/delay.h> #include "davinci_emac.h" unsigned int emac_dbg = 0; diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c index ecd6df9..e3ac40c 100644 --- a/drivers/net/ti/keystone_net.c +++ b/drivers/net/ti/keystone_net.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <console.h> +#include <linux/delay.h> #include <dm.h> #include <dm/lists.h> diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index f85cdcb..15701ee 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -15,6 +15,7 @@ #include <command.h> #include <tsec.h> #include <fsl_mdio.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/processor.h> #include <asm/io.h> diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c index c568366..cfdd113 100644 --- a/drivers/net/uli526x.c +++ b/drivers/net/uli526x.c @@ -16,6 +16,7 @@ #include <asm/io.h> #include <pci.h> #include <miiphy.h> +#include <linux/delay.h> /* some kernel function compatible define */ diff --git a/drivers/net/vsc7385.c b/drivers/net/vsc7385.c index d020aa9..af8d99c 100644 --- a/drivers/net/vsc7385.c +++ b/drivers/net/vsc7385.c @@ -17,6 +17,7 @@ #include <console.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include "vsc7385.h" diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c index 8bad351..c438dab 100644 --- a/drivers/net/vsc9953.c +++ b/drivers/net/vsc9953.c @@ -17,6 +17,7 @@ #include <malloc.h> #include <vsc9953.h> #include <ethsw.h> +#include <linux/delay.h> static struct vsc9953_info vsc9953_l2sw = { .port[0] = VSC9953_PORT_INFO_INITIALIZER(0), diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 0915198..d0683db 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -16,6 +16,7 @@ #include <phy.h> #include <miiphy.h> #include <wait_bit.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index b15e551..9bdb679 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -17,6 +17,7 @@ #include <phy.h> #include <miiphy.h> #include <fdtdec.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/kernel.h> #include <asm/io.h> diff --git a/drivers/pci/fsl_pci_init.c b/drivers/pci/fsl_pci_init.c index c3c67fc..1d09c5a 100644 --- a/drivers/pci/fsl_pci_init.c +++ b/drivers/pci/fsl_pci_init.c @@ -9,6 +9,7 @@ #include <log.h> #include <malloc.h> #include <asm/fsl_serdes.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c index d678e0b..1586791 100644 --- a/drivers/pci/pci-aardvark.c +++ b/drivers/pci/pci-aardvark.c @@ -30,6 +30,7 @@ #include <asm/io.h> #include <asm-generic/gpio.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/ioport.h> /* PCIe core registers */ diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 76dfc1a..9ab3539 100644 --- a/drivers/pci/pci-uclass.c +++ b/drivers/pci/pci-uclass.c @@ -17,6 +17,7 @@ #if defined(CONFIG_X86) && defined(CONFIG_HAVE_FSP) #include <asm/fsp/fsp_support.h> #endif +#include <linux/delay.h> #include "pci_internal.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 3b67cd2..664e837 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -17,6 +17,7 @@ #include <common.h> #include <init.h> #include <log.h> +#include <linux/delay.h> #include <command.h> #include <env.h> diff --git a/drivers/pci/pci_sh4.c b/drivers/pci/pci_sh4.c index 4500e8b..aac9be0 100644 --- a/drivers/pci/pci_sh4.c +++ b/drivers/pci/pci_sh4.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <asm/processor.h> #include <asm/io.h> diff --git a/drivers/pci/pci_sh7751.c b/drivers/pci/pci_sh7751.c index 2f48b96..1f23bbc 100644 --- a/drivers/pci/pci_sh7751.c +++ b/drivers/pci/pci_sh7751.c @@ -11,6 +11,7 @@ #include <asm/processor.h> #include <asm/io.h> #include <asm/pci.h> +#include <linux/delay.h> /* Register addresses and such */ #define SH7751_BCR1 (vu_long *)0xFF800000 diff --git a/drivers/pci/pci_sh7780.c b/drivers/pci/pci_sh7780.c index 722b5e7..06d711a 100644 --- a/drivers/pci/pci_sh7780.c +++ b/drivers/pci/pci_sh7780.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <pci.h> #include <asm/processor.h> diff --git a/drivers/pci/pci_tegra.c b/drivers/pci/pci_tegra.c index 3b4b276..82f5c59 100644 --- a/drivers/pci/pci_tegra.c +++ b/drivers/pci/pci_tegra.c @@ -21,6 +21,7 @@ #include <pci_tegra.h> #include <power-domain.h> #include <reset.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/drivers/pci/pcie_dw_mvebu.c b/drivers/pci/pcie_dw_mvebu.c index b003791..c773f8d 100644 --- a/drivers/pci/pcie_dw_mvebu.c +++ b/drivers/pci/pcie_dw_mvebu.c @@ -16,6 +16,7 @@ #include <pci.h> #include <asm/io.h> #include <asm-generic/gpio.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pci/pcie_dw_ti.c b/drivers/pci/pcie_dw_ti.c index 0cca4e6..e49e39e 100644 --- a/drivers/pci/pcie_dw_ti.c +++ b/drivers/pci/pcie_dw_ti.c @@ -14,6 +14,7 @@ #include <asm/io.h> #include <asm-generic/gpio.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index dc994b7..ab33459 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -14,6 +14,7 @@ #include <asm/fsl_pci.h> #include <asm/fsl_serdes.h> #include <asm/io.h> +#include <linux/delay.h> #include "pcie_fsl.h" #include <dm/device_compat.h> diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c index dc18d1c..cbf1237 100644 --- a/drivers/pci/pcie_imx.c +++ b/drivers/pci/pcie_imx.c @@ -20,6 +20,7 @@ #include <asm/gpio.h> #include <asm/io.h> #include <dm.h> +#include <linux/delay.h> #include <linux/sizes.h> #include <errno.h> #include <asm/arch/sys_proto.h> diff --git a/drivers/pci/pcie_intel_fpga.c b/drivers/pci/pcie_intel_fpga.c index 6a9f29c..8249c62 100644 --- a/drivers/pci/pcie_intel_fpga.c +++ b/drivers/pci/pcie_intel_fpga.c @@ -11,6 +11,7 @@ #include <pci.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #define RP_TX_REG0 0x2000 #define RP_TX_CNTRL 0x2004 diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c index 9696c84..af974cd 100644 --- a/drivers/phy/allwinner/phy-sun4i-usb.c +++ b/drivers/phy/allwinner/phy-sun4i-usb.c @@ -23,6 +23,7 @@ #include <asm/arch/clock.h> #include <asm/arch/cpu.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #define REG_ISCR 0x00 diff --git a/drivers/phy/bcm6318-usbh-phy.c b/drivers/phy/bcm6318-usbh-phy.c index a1ff0b7..fe0e43d 100644 --- a/drivers/phy/bcm6318-usbh-phy.c +++ b/drivers/phy/bcm6318-usbh-phy.c @@ -17,6 +17,7 @@ #include <reset.h> #include <asm/io.h> #include <dm/device.h> +#include <linux/delay.h> /* USBH Setup register */ #define USBH_SETUP_REG 0x00 diff --git a/drivers/phy/bcm6368-usbh-phy.c b/drivers/phy/bcm6368-usbh-phy.c index f24e9ff..8b918b0 100644 --- a/drivers/phy/bcm6368-usbh-phy.c +++ b/drivers/phy/bcm6368-usbh-phy.c @@ -17,6 +17,7 @@ #include <reset.h> #include <asm/io.h> #include <dm/device.h> +#include <linux/delay.h> /* USBH PLL Control register */ #define USBH_PLL_REG 0x18 diff --git a/drivers/phy/keystone-usb-phy.c b/drivers/phy/keystone-usb-phy.c index 3be51a3..7624f10 100644 --- a/drivers/phy/keystone-usb-phy.c +++ b/drivers/phy/keystone-usb-phy.c @@ -11,6 +11,7 @@ #include <generic-phy.h> #include <asm/io.h> #include <asm/arch/psc_defs.h> +#include <linux/delay.h> /* USB PHY control register offsets */ #define USB_PHY_CTL_UTMI 0x0000 diff --git a/drivers/phy/marvell/comphy_a3700.c b/drivers/phy/marvell/comphy_a3700.c index 53b55ce..dc188c4 100644 --- a/drivers/phy/marvell/comphy_a3700.c +++ b/drivers/phy/marvell/comphy_a3700.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "comphy_a3700.h" diff --git a/drivers/phy/marvell/comphy_cp110.c b/drivers/phy/marvell/comphy_cp110.c index ddfacf6..15e8004 100644 --- a/drivers/phy/marvell/comphy_cp110.c +++ b/drivers/phy/marvell/comphy_cp110.c @@ -9,6 +9,7 @@ #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> +#include <linux/delay.h> #include "comphy_core.h" #include "comphy_hpipe.h" diff --git a/drivers/phy/meson-g12a-usb2.c b/drivers/phy/meson-g12a-usb2.c index 6030031..a1e6219 100644 --- a/drivers/phy/meson-g12a-usb2.c +++ b/drivers/phy/meson-g12a-usb2.c @@ -16,6 +16,7 @@ #include <errno.h> #include <generic-phy.h> #include <regmap.h> +#include <linux/delay.h> #include <power/regulator.h> #include <reset.h> #include <clk.h> diff --git a/drivers/phy/meson-g12a-usb3-pcie.c b/drivers/phy/meson-g12a-usb3-pcie.c index 82655f2..4e9696f 100644 --- a/drivers/phy/meson-g12a-usb3-pcie.c +++ b/drivers/phy/meson-g12a-usb3-pcie.c @@ -17,6 +17,7 @@ #include <reset.h> #include <bitfield.h> #include <generic-phy.h> +#include <linux/delay.h> #include <linux/bitops.h> #include <linux/compat.h> diff --git a/drivers/phy/meson-gxl-usb2.c b/drivers/phy/meson-gxl-usb2.c index b4f4c3c..2267bd0 100644 --- a/drivers/phy/meson-gxl-usb2.c +++ b/drivers/phy/meson-gxl-usb2.c @@ -15,6 +15,7 @@ #include <errno.h> #include <generic-phy.h> #include <regmap.h> +#include <linux/delay.h> #include <power/regulator.h> #include <clk.h> #include <linux/usb/otg.h> diff --git a/drivers/phy/mt76x8-usb-phy.c b/drivers/phy/mt76x8-usb-phy.c index 7fa8c8b..4c0818f 100644 --- a/drivers/phy/mt76x8-usb-phy.c +++ b/drivers/phy/mt76x8-usb-phy.c @@ -14,6 +14,7 @@ #include <reset.h> #include <asm/io.h> #include <linux/bitops.h> +#include <linux/delay.h> #define OFS_U2_PHY_AC0 0x800 #define USBPLL_FBDIV_S 16 diff --git a/drivers/phy/phy-mtk-tphy.c b/drivers/phy/phy-mtk-tphy.c index 81525a4..048e2b1 100644 --- a/drivers/phy/phy-mtk-tphy.c +++ b/drivers/phy/phy-mtk-tphy.c @@ -14,6 +14,7 @@ #include <asm/io.h> #include <dm/device_compat.h> #include <dm/devres.h> +#include <linux/delay.h> #include <dt-bindings/phy/phy.h> diff --git a/drivers/phy/phy-rcar-gen2.c b/drivers/phy/phy-rcar-gen2.c index e93130a..18da86e 100644 --- a/drivers/phy/phy-rcar-gen2.c +++ b/drivers/phy/phy-rcar-gen2.c @@ -18,6 +18,7 @@ #include <asm/io.h> #include <dm/device_compat.h> #include <linux/bitops.h> +#include <linux/delay.h> #include <power/regulator.h> #define USBHS_LPSTS 0x02 diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drivers/phy/phy-stm32-usbphyc.c index b436c21..464b073 100644 --- a/drivers/phy/phy-stm32-usbphyc.c +++ b/drivers/phy/phy-stm32-usbphyc.c @@ -16,6 +16,7 @@ #include <asm/io.h> #include <dm/device_compat.h> #include <linux/bitops.h> +#include <linux/delay.h> #include <power/regulator.h> /* USBPHYC registers */ diff --git a/drivers/phy/phy-ti-am654.c b/drivers/phy/phy-ti-am654.c index 18cf654..5220f01 100644 --- a/drivers/phy/phy-ti-am654.c +++ b/drivers/phy/phy-ti-am654.c @@ -20,6 +20,7 @@ #include <power-domain.h> #include <regmap.h> #include <syscon.h> +#include <linux/delay.h> #include <linux/err.h> #define CMU_R07C 0x7c diff --git a/drivers/phy/ti-pipe3-phy.c b/drivers/phy/ti-pipe3-phy.c index 7fc3631..d247a98 100644 --- a/drivers/phy/ti-pipe3-phy.c +++ b/drivers/phy/ti-pipe3-phy.c @@ -12,6 +12,7 @@ #include <asm/arch/sys_proto.h> #include <syscon.h> #include <regmap.h> +#include <linux/delay.h> #include <linux/err.h> /* PLLCTRL Registers */ diff --git a/drivers/pinctrl/pinctrl-stmfx.c b/drivers/pinctrl/pinctrl-stmfx.c index b0e43ae..9b6a7fa 100644 --- a/drivers/pinctrl/pinctrl-stmfx.c +++ b/drivers/pinctrl/pinctrl-stmfx.c @@ -15,6 +15,7 @@ #include <dm/lists.h> #include <dm/pinctrl.h> #include <linux/bitfield.h> +#include <linux/delay.h> #include <power/regulator.h> /* STMFX pins = GPIO[15:0] + aGPIO[7:0] */ diff --git a/drivers/power/axp209.c b/drivers/power/axp209.c index 60f69ec..ade5319 100644 --- a/drivers/power/axp209.c +++ b/drivers/power/axp209.c @@ -8,6 +8,7 @@ #include <command.h> #include <asm/arch/pmic_bus.h> #include <axp_pmic.h> +#include <linux/delay.h> #ifdef CONFIG_AXP_ALDO3_VOLT_SLOPE_08 # define AXP209_VRC_SLOPE AXP209_VRC_LDO3_800uV_uS diff --git a/drivers/power/battery/bat_trats.c b/drivers/power/battery/bat_trats.c index f461a37..54b2bf9 100644 --- a/drivers/power/battery/bat_trats.c +++ b/drivers/power/battery/bat_trats.c @@ -7,6 +7,7 @@ #include <common.h> #include <console.h> #include <log.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/battery.h> #include <power/max8997_pmic.h> diff --git a/drivers/power/domain/meson-ee-pwrc.c b/drivers/power/domain/meson-ee-pwrc.c index 0fc8cb6..b668d94 100644 --- a/drivers/power/domain/meson-ee-pwrc.c +++ b/drivers/power/domain/meson-ee-pwrc.c @@ -15,6 +15,7 @@ #include <clk.h> #include <dt-bindings/power/meson-g12a-power.h> #include <dt-bindings/power/meson-sm1-power.h> +#include <linux/delay.h> #include <linux/err.h> /* AO Offsets */ diff --git a/drivers/power/domain/meson-gx-pwrc-vpu.c b/drivers/power/domain/meson-gx-pwrc-vpu.c index 6a938bb..d43383b 100644 --- a/drivers/power/domain/meson-gx-pwrc-vpu.c +++ b/drivers/power/domain/meson-gx-pwrc-vpu.c @@ -15,6 +15,7 @@ #include <syscon.h> #include <reset.h> #include <clk.h> +#include <linux/delay.h> #include <linux/err.h> enum { diff --git a/drivers/power/fuel_gauge/fg_max17042.c b/drivers/power/fuel_gauge/fg_max17042.c index 7c7e9a7..a395d58 100644 --- a/drivers/power/fuel_gauge/fg_max17042.c +++ b/drivers/power/fuel_gauge/fg_max17042.c @@ -6,6 +6,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/max17042_fg.h> #include <i2c.h> diff --git a/drivers/power/mt6323.c b/drivers/power/mt6323.c index f5b2754..354817a 100644 --- a/drivers/power/mt6323.c +++ b/drivers/power/mt6323.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> #include <asm/io.h> +#include <linux/delay.h> #define PWRAP_BASE 0x1000d000 #define PWRAP_WACS2_CMD 0x9c diff --git a/drivers/power/pmic/pmic_hi6553.c b/drivers/power/pmic/pmic_hi6553.c index 6443c9f..80b9078 100644 --- a/drivers/power/pmic/pmic_hi6553.c +++ b/drivers/power/pmic/pmic_hi6553.c @@ -5,6 +5,7 @@ */ #include <asm/io.h> #include <common.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/max8997_muic.h> #include <power/hi6553_pmic.h> diff --git a/drivers/power/regulator/pbias_regulator.c b/drivers/power/regulator/pbias_regulator.c index db8c5a9..28a9a14 100644 --- a/drivers/power/regulator/pbias_regulator.c +++ b/drivers/power/regulator/pbias_regulator.c @@ -8,6 +8,7 @@ #include <errno.h> #include <dm.h> #include <log.h> +#include <linux/delay.h> #include <linux/err.h> #include <power/pmic.h> #include <power/regulator.h> diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c index b959c46..7dcb317 100644 --- a/drivers/power/regulator/regulator-uclass.c +++ b/drivers/power/regulator/regulator-uclass.c @@ -9,6 +9,7 @@ #include <dm.h> #include <log.h> #include <dm/uclass-internal.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/regulator.h> diff --git a/drivers/power/regulator/regulator_common.c b/drivers/power/regulator/regulator_common.c index 637db02..16d9412 100644 --- a/drivers/power/regulator/regulator_common.c +++ b/drivers/power/regulator/regulator_common.c @@ -7,6 +7,7 @@ #include "regulator_common.h" #include <common.h> #include <log.h> +#include <linux/delay.h> #include <power/regulator.h> int regulator_common_ofdata_to_platdata(struct udevice *dev, diff --git a/drivers/power/regulator/s2mps11_regulator.c b/drivers/power/regulator/s2mps11_regulator.c index 67d1f96..a6b4f15 100644 --- a/drivers/power/regulator/s2mps11_regulator.c +++ b/drivers/power/regulator/s2mps11_regulator.c @@ -9,6 +9,7 @@ #include <errno.h> #include <dm.h> #include <i2c.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/s2mps11.h> diff --git a/drivers/power/regulator/stpmic1.c b/drivers/power/regulator/stpmic1.c index 1e3f96f..3e342f4 100644 --- a/drivers/power/regulator/stpmic1.c +++ b/drivers/power/regulator/stpmic1.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/stpmic1.h> diff --git a/drivers/power/regulator/tps65090_regulator.c b/drivers/power/regulator/tps65090_regulator.c index 6dfec89..9e45627 100644 --- a/drivers/power/regulator/tps65090_regulator.c +++ b/drivers/power/regulator/tps65090_regulator.c @@ -7,6 +7,7 @@ #include <dm.h> #include <errno.h> #include <log.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/tps65090.h> diff --git a/drivers/power/regulator/tps65941_regulator.c b/drivers/power/regulator/tps65941_regulator.c index 3f8be6c..150c72d 100644 --- a/drivers/power/regulator/tps65941_regulator.c +++ b/drivers/power/regulator/tps65941_regulator.c @@ -12,6 +12,7 @@ #include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/tps65941.h> diff --git a/drivers/power/tps6586x.c b/drivers/power/tps6586x.c index 8c61a41..49b28a5 100644 --- a/drivers/power/tps6586x.c +++ b/drivers/power/tps6586x.c @@ -9,6 +9,7 @@ #include <tps6586x.h> #include <asm/io.h> #include <i2c.h> +#include <linux/delay.h> static struct udevice *tps6586x_dev; diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c index 4cc261a..b0d5cba 100644 --- a/drivers/power/twl4030.c +++ b/drivers/power/twl4030.c @@ -24,6 +24,7 @@ #include <command.h> #include <twl4030.h> +#include <linux/delay.h> /* * Power Reset diff --git a/drivers/power/twl6030.c b/drivers/power/twl6030.c index 103960d..60a5aaa 100644 --- a/drivers/power/twl6030.c +++ b/drivers/power/twl6030.c @@ -4,6 +4,7 @@ * Texas Instruments, <www.ti.com> */ #include <config.h> +#include <linux/delay.h> #include <twl6030.h> diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index 4ab0e21..849f191 100644 --- a/drivers/qe/uec.c +++ b/drivers/qe/uec.c @@ -9,6 +9,7 @@ #include <log.h> #include <net.h> #include <malloc.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <linux/immap_qe.h> diff --git a/drivers/qe/uec_phy.c b/drivers/qe/uec_phy.c index 1dae261..69c22dd 100644 --- a/drivers/qe/uec_phy.c +++ b/drivers/qe/uec_phy.c @@ -12,6 +12,7 @@ #include <common.h> #include <net.h> #include <malloc.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/immap_qe.h> #include <asm/io.h> diff --git a/drivers/ram/imxrt_sdram.c b/drivers/ram/imxrt_sdram.c index b9831ec..80fcb7e 100644 --- a/drivers/ram/imxrt_sdram.c +++ b/drivers/ram/imxrt_sdram.c @@ -11,6 +11,7 @@ #include <log.h> #include <ram.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/err.h> /* SDRAM Command Code */ diff --git a/drivers/ram/mediatek/ddr3-mt7629.c b/drivers/ram/mediatek/ddr3-mt7629.c index b413f49..6b4296d 100644 --- a/drivers/ram/mediatek/ddr3-mt7629.c +++ b/drivers/ram/mediatek/ddr3-mt7629.c @@ -12,6 +12,7 @@ #include <dm.h> #include <ram.h> #include <asm/io.h> +#include <linux/delay.h> /* EMI */ #define EMI_CONA 0x000 diff --git a/drivers/ram/rockchip/dmc-rk3368.c b/drivers/ram/rockchip/dmc-rk3368.c index 8dc4738..31a3c83 100644 --- a/drivers/ram/rockchip/dmc-rk3368.c +++ b/drivers/ram/rockchip/dmc-rk3368.c @@ -20,6 +20,7 @@ #include <asm/arch-rockchip/ddr_rk3368.h> #include <asm/arch-rockchip/sdram.h> #include <asm/arch-rockchip/sdram_rk3288.h> +#include <linux/delay.h> #include <linux/err.h> struct dram_info { diff --git a/drivers/ram/rockchip/sdram_pctl_px30.c b/drivers/ram/rockchip/sdram_pctl_px30.c index 1839ceb..331d85f 100644 --- a/drivers/ram/rockchip/sdram_pctl_px30.c +++ b/drivers/ram/rockchip/sdram_pctl_px30.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch-rockchip/sdram.h> #include <asm/arch-rockchip/sdram_pctl_px30.h> +#include <linux/delay.h> /* * rank = 1: cs0 diff --git a/drivers/ram/rockchip/sdram_phy_px30.c b/drivers/ram/rockchip/sdram_phy_px30.c index 5de7377..f7f6de1 100644 --- a/drivers/ram/rockchip/sdram_phy_px30.c +++ b/drivers/ram/rockchip/sdram_phy_px30.c @@ -9,6 +9,7 @@ #include <asm/arch-rockchip/sdram.h> #include <asm/arch-rockchip/sdram_common.h> #include <asm/arch-rockchip/sdram_phy_px30.h> +#include <linux/delay.h> static void sdram_phy_dll_bypass_set(void __iomem *phy_base, u32 freq) { diff --git a/drivers/ram/rockchip/sdram_px30.c b/drivers/ram/rockchip/sdram_px30.c index 67f494c..fd5763d 100644 --- a/drivers/ram/rockchip/sdram_px30.c +++ b/drivers/ram/rockchip/sdram_px30.c @@ -17,6 +17,7 @@ #include <asm/arch-rockchip/hardware.h> #include <asm/arch-rockchip/sdram.h> #include <asm/arch-rockchip/sdram_px30.h> +#include <linux/delay.h> struct dram_info { #ifdef CONFIG_TPL_BUILD diff --git a/drivers/ram/rockchip/sdram_rk3188.c b/drivers/ram/rockchip/sdram_rk3188.c index cc9bd02..7aedb4f 100644 --- a/drivers/ram/rockchip/sdram_rk3188.c +++ b/drivers/ram/rockchip/sdram_rk3188.c @@ -25,6 +25,7 @@ #include <asm/arch-rockchip/pmu_rk3188.h> #include <asm/arch-rockchip/sdram.h> #include <asm/arch-rockchip/sdram_rk3288.h> +#include <linux/delay.h> #include <linux/err.h> struct chan_info { diff --git a/drivers/ram/rockchip/sdram_rk322x.c b/drivers/ram/rockchip/sdram_rk322x.c index 0b11b48..094693c 100644 --- a/drivers/ram/rockchip/sdram_rk322x.c +++ b/drivers/ram/rockchip/sdram_rk322x.c @@ -20,6 +20,7 @@ #include <asm/arch-rockchip/uart.h> #include <asm/arch-rockchip/sdram.h> #include <asm/types.h> +#include <linux/delay.h> #include <linux/err.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/ram/rockchip/sdram_rk3288.c b/drivers/ram/rockchip/sdram_rk3288.c index 2e6186d..64d704e 100644 --- a/drivers/ram/rockchip/sdram_rk3288.c +++ b/drivers/ram/rockchip/sdram_rk3288.c @@ -25,6 +25,7 @@ #include <asm/arch-rockchip/pmu_rk3288.h> #include <asm/arch-rockchip/sdram.h> #include <asm/arch-rockchip/sdram_rk3288.h> +#include <linux/delay.h> #include <linux/err.h> #include <power/regulator.h> #include <power/rk8xx_pmic.h> diff --git a/drivers/ram/rockchip/sdram_rk3328.c b/drivers/ram/rockchip/sdram_rk3328.c index f013010..3f3926f 100644 --- a/drivers/ram/rockchip/sdram_rk3328.c +++ b/drivers/ram/rockchip/sdram_rk3328.c @@ -19,6 +19,7 @@ #include <asm/arch-rockchip/sdram.h> #include <asm/arch-rockchip/sdram_rk3328.h> #include <asm/arch-rockchip/uart.h> +#include <linux/delay.h> struct dram_info { #ifdef CONFIG_TPL_BUILD diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c index 9d2d3cf..60a1ab8 100644 --- a/drivers/ram/rockchip/sdram_rk3399.c +++ b/drivers/ram/rockchip/sdram_rk3399.c @@ -22,6 +22,7 @@ #include <asm/arch-rockchip/hardware.h> #include <asm/arch-rockchip/sdram.h> #include <asm/arch-rockchip/sdram_rk3399.h> +#include <linux/delay.h> #include <linux/err.h> #include <time.h> diff --git a/drivers/ram/stm32_sdram.c b/drivers/ram/stm32_sdram.c index d9b1b24..1894a60 100644 --- a/drivers/ram/stm32_sdram.c +++ b/drivers/ram/stm32_sdram.c @@ -12,6 +12,7 @@ #include <ram.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #define MEM_MODE_MASK GENMASK(2, 0) #define SWP_FMC_OFFSET 10 diff --git a/drivers/ram/stm32mp1/stm32mp1_ddr.c b/drivers/ram/stm32mp1/stm32mp1_ddr.c index f10ecdd..f523dc8 100644 --- a/drivers/ram/stm32mp1/stm32mp1_ddr.c +++ b/drivers/ram/stm32mp1/stm32mp1_ddr.c @@ -11,6 +11,7 @@ #include <timer.h> #include <asm/io.h> #include <asm/arch/ddr.h> +#include <linux/delay.h> #include <linux/iopoll.h> #include "stm32mp1_ddr.h" #include "stm32mp1_ddr_regs.h" diff --git a/drivers/ram/stm32mp1/stm32mp1_tuning.c b/drivers/ram/stm32mp1/stm32mp1_tuning.c index d2c3e89..a8d6892 100644 --- a/drivers/ram/stm32mp1/stm32mp1_tuning.c +++ b/drivers/ram/stm32mp1/stm32mp1_tuning.c @@ -11,6 +11,7 @@ #include <reset.h> #include <asm/io.h> #include <linux/bitops.h> +#include <linux/delay.h> #include <linux/iopoll.h> #include "stm32mp1_ddr_regs.h" diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c index 20ea16d..0511a0c 100644 --- a/drivers/reset/reset-bcm6345.c +++ b/drivers/reset/reset-bcm6345.c @@ -13,6 +13,7 @@ #include <malloc.h> #include <reset-uclass.h> #include <asm/io.h> +#include <linux/delay.h> #define MAX_RESETS 32 diff --git a/drivers/reset/reset-imx7.c b/drivers/reset/reset-imx7.c index bbbca139..ce7e1c4 100644 --- a/drivers/reset/reset-imx7.c +++ b/drivers/reset/reset-imx7.c @@ -11,6 +11,7 @@ #include <dt-bindings/reset/imx7-reset.h> #include <dt-bindings/reset/imx8mq-reset.h> #include <reset-uclass.h> +#include <linux/delay.h> struct imx7_reset_priv { void __iomem *base; diff --git a/drivers/rng/stm32mp1_rng.c b/drivers/rng/stm32mp1_rng.c index 7ee7471..a9a9273 100644 --- a/drivers/rng/stm32mp1_rng.c +++ b/drivers/rng/stm32mp1_rng.c @@ -9,6 +9,7 @@ #include <log.h> #include <reset.h> #include <rng.h> +#include <linux/delay.h> #include <asm/io.h> #include <linux/iopoll.h> diff --git a/drivers/rtc/davinci.c b/drivers/rtc/davinci.c index 3514e73..c446e7a 100644 --- a/drivers/rtc/davinci.c +++ b/drivers/rtc/davinci.c @@ -9,6 +9,7 @@ #include <rtc.h> #include <asm/io.h> #include <asm/davinci_rtc.h> +#include <linux/delay.h> int rtc_get(struct rtc_time *tmp) { diff --git a/drivers/rtc/ds1302.c b/drivers/rtc/ds1302.c index b94163f..189607c 100644 --- a/drivers/rtc/ds1302.c +++ b/drivers/rtc/ds1302.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <rtc.h> +#include <linux/delay.h> /* GPP Pins */ #define DATA 0x200 diff --git a/drivers/rtc/ds1306.c b/drivers/rtc/ds1306.c index 1bd1151..36d6158 100644 --- a/drivers/rtc/ds1306.c +++ b/drivers/rtc/ds1306.c @@ -18,6 +18,7 @@ #include <command.h> #include <rtc.h> #include <spi.h> +#include <linux/delay.h> #define RTC_SECONDS 0x00 #define RTC_MINUTES 0x01 diff --git a/drivers/rtc/imxdi.c b/drivers/rtc/imxdi.c index 39920f1..e3a1393 100644 --- a/drivers/rtc/imxdi.c +++ b/drivers/rtc/imxdi.c @@ -16,6 +16,7 @@ #include <command.h> #include <linux/compat.h> #include <rtc.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/rtc/max6900.c b/drivers/rtc/max6900.c index b351865..1192883 100644 --- a/drivers/rtc/max6900.c +++ b/drivers/rtc/max6900.c @@ -14,6 +14,7 @@ #include <command.h> #include <rtc.h> #include <i2c.h> +#include <linux/delay.h> #ifndef CONFIG_SYS_I2C_RTC_ADDR #define CONFIG_SYS_I2C_RTC_ADDR 0x50 diff --git a/drivers/rtc/mvrtc.c b/drivers/rtc/mvrtc.c index 94a0653..6f49505 100644 --- a/drivers/rtc/mvrtc.c +++ b/drivers/rtc/mvrtc.c @@ -13,6 +13,7 @@ #include <dm.h> #include <rtc.h> #include <asm/io.h> +#include <linux/delay.h> #include "mvrtc.h" /* This RTC does not support century, so we assume 20 */ diff --git a/drivers/rtc/rv3029.c b/drivers/rtc/rv3029.c index 5e1689a..9be5842 100644 --- a/drivers/rtc/rv3029.c +++ b/drivers/rtc/rv3029.c @@ -15,6 +15,7 @@ #include <log.h> #include <rtc.h> #include <dm/device_compat.h> +#include <linux/delay.h> #define RTC_RV3029_PAGE_LEN 7 diff --git a/drivers/rtc/s35392a.c b/drivers/rtc/s35392a.c index 3bfe481..80f55c8 100644 --- a/drivers/rtc/s35392a.c +++ b/drivers/rtc/s35392a.c @@ -23,6 +23,7 @@ #include <i2c.h> #include <linux/bitrev.h> #include <rtc.h> +#include <linux/delay.h> #define S35390A_CHIP_ADDR 0x30 diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c index 98d2090..71cb31f 100644 --- a/drivers/serial/atmel_usart.c +++ b/drivers/serial/atmel_usart.c @@ -14,6 +14,7 @@ #include <serial.h> #include <debug_uart.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <asm/io.h> #ifdef CONFIG_DM_SERIAL diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c index 7703c67..a0af0e6 100644 --- a/drivers/serial/serial-uclass.c +++ b/drivers/serial/serial-uclass.c @@ -15,6 +15,7 @@ #include <dm/lists.h> #include <dm/device-internal.h> #include <dm/of_access.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index baeaeaa..da017dc 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/serial.c @@ -12,6 +12,7 @@ #include <post.h> #include <linux/compiler.h> #include <errno.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c index acfcc29..5f45d58 100644 --- a/drivers/serial/serial_sh.c +++ b/drivers/serial/serial_sh.c @@ -15,6 +15,7 @@ #include <serial.h> #include <linux/compiler.h> #include <dm/platform_data/serial_sh.h> +#include <linux/delay.h> #include "serial_sh.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c index a9f5c3c..5c1cf81 100644 --- a/drivers/serial/serial_stm32.c +++ b/drivers/serial/serial_stm32.c @@ -13,6 +13,7 @@ #include <watchdog.h> #include <asm/io.h> #include <asm/arch/stm32.h> +#include <linux/delay.h> #include "serial_stm32.h" #include <dm/device_compat.h> diff --git a/drivers/sound/hda_codec.c b/drivers/sound/hda_codec.c index 92e1945..b59c63e 100644 --- a/drivers/sound/hda_codec.c +++ b/drivers/sound/hda_codec.c @@ -15,6 +15,7 @@ #include <sound.h> #include <asm/io.h> #include <dt-bindings/sound/azalia.h> +#include <linux/delay.h> /** * struct hda_regs - HDA registers diff --git a/drivers/sound/max98090.c b/drivers/sound/max98090.c index 29afbbc..d23955d 100644 --- a/drivers/sound/max98090.c +++ b/drivers/sound/max98090.c @@ -14,6 +14,7 @@ #include <log.h> #include <sound.h> #include <asm/gpio.h> +#include <linux/delay.h> #include "maxim_codec.h" #include "max98090.h" diff --git a/drivers/sound/sound-uclass.c b/drivers/sound/sound-uclass.c index 9aeeb80..92f4b0b 100644 --- a/drivers/sound/sound-uclass.c +++ b/drivers/sound/sound-uclass.c @@ -10,6 +10,7 @@ #include <log.h> #include <malloc.h> #include <sound.h> +#include <linux/delay.h> #define SOUND_BITS_IN_BYTE 8 diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index e0a2003..6362869 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 3efa8db..c00a05a 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 cded7a8..746686a 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 c85253d..cb3d44c 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 67544ff..ba49839 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 0ee5074..de93cbd 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 537c756..9c42755 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 b020ce2..0026ad2 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 8aedd5e..8491eac 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 4865fd9..e35c6f9 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 c5842dc..833cb04 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 c58fd0e..4ecfe60 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 af0dd71..e5f9f49 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 ae62aeb..9fc5f6e 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 fdc9f95..8071de0 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 2740918..bf02bdb 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 3a1ef8c..1461f09 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 f09d960..dcd0950 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 c810dc4..96ab650 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 57d41b7..42ed1ba 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 b59b876..e3bad55 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; diff --git a/drivers/sysreset/sysreset-uclass.c b/drivers/sysreset/sysreset-uclass.c index d43c7b7..995240f 100644 --- a/drivers/sysreset/sysreset-uclass.c +++ b/drivers/sysreset/sysreset-uclass.c @@ -18,6 +18,7 @@ #include <dm/device-internal.h> #include <dm/lists.h> #include <dm/root.h> +#include <linux/delay.h> #include <linux/err.h> int sysreset_request(struct udevice *dev, enum sysreset_t type) diff --git a/drivers/sysreset/sysreset_mpc83xx.c b/drivers/sysreset/sysreset_mpc83xx.c index ff08d35..456f006 100644 --- a/drivers/sysreset/sysreset_mpc83xx.c +++ b/drivers/sysreset/sysreset_mpc83xx.c @@ -10,6 +10,7 @@ #include <log.h> #include <sysreset.h> #include <wait_bit.h> +#include <linux/delay.h> #include "sysreset_mpc83xx.h" diff --git a/drivers/thermal/imx_scu_thermal.c b/drivers/thermal/imx_scu_thermal.c index 2d3a363..321f905 100644 --- a/drivers/thermal/imx_scu_thermal.c +++ b/drivers/thermal/imx_scu_thermal.c @@ -12,6 +12,7 @@ #include <dm/device-internal.h> #include <dm/device.h> #include <asm/arch/sci/sci.h> +#include <linux/delay.h> #include <linux/libfdt.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index da3fca9..101bd5e 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -16,6 +16,7 @@ #include <dm.h> #include <errno.h> #include <malloc.h> +#include <linux/delay.h> #include <linux/math64.h> #include <thermal.h> #include <imx_thermal.h> diff --git a/drivers/timer/tsc_timer.c b/drivers/timer/tsc_timer.c index 890660b..93c959f 100644 --- a/drivers/timer/tsc_timer.c +++ b/drivers/timer/tsc_timer.c @@ -19,6 +19,7 @@ #include <asm/ibmpc.h> #include <asm/msr.h> #include <asm/u-boot-x86.h> +#include <linux/delay.h> #define MAX_NUM_FREQS 9 diff --git a/drivers/tpm/cr50_i2c.c b/drivers/tpm/cr50_i2c.c index 026adbd..1942c07 100644 --- a/drivers/tpm/cr50_i2c.c +++ b/drivers/tpm/cr50_i2c.c @@ -18,6 +18,7 @@ #include <asm/io.h> #include <asm/arch/iomap.h> #include <asm/arch/pm.h> +#include <linux/delay.h> enum { TIMEOUT_INIT_MS = 30000, /* Very long timeout for TPM init */ diff --git a/drivers/tpm/tpm-uclass.c b/drivers/tpm/tpm-uclass.c index 19c0502..6ea795b 100644 --- a/drivers/tpm/tpm-uclass.c +++ b/drivers/tpm/tpm-uclass.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <log.h> +#include <linux/delay.h> #include <linux/unaligned/be_byteshift.h> #include <tpm-v1.h> #include <tpm-v2.h> diff --git a/drivers/tpm/tpm2_tis_spi.c b/drivers/tpm/tpm2_tis_spi.c index 713111f..03918ed 100644 --- a/drivers/tpm/tpm2_tis_spi.c +++ b/drivers/tpm/tpm2_tis_spi.c @@ -19,6 +19,7 @@ #include <log.h> #include <spi.h> #include <tpm-v2.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/compiler.h> #include <linux/types.h> diff --git a/drivers/tpm/tpm_atmel_twi.c b/drivers/tpm/tpm_atmel_twi.c index 2079ea9..d9e4877 100644 --- a/drivers/tpm/tpm_atmel_twi.c +++ b/drivers/tpm/tpm_atmel_twi.c @@ -10,6 +10,7 @@ #include <tpm-v1.h> #include <i2c.h> #include <asm/unaligned.h> +#include <linux/delay.h> #include "tpm_internal.h" diff --git a/drivers/tpm/tpm_tis_infineon.c b/drivers/tpm/tpm_tis_infineon.c index b007c7e..f47813e 100644 --- a/drivers/tpm/tpm_tis_infineon.c +++ b/drivers/tpm/tpm_tis_infineon.c @@ -25,6 +25,7 @@ #include <i2c.h> #include <log.h> #include <tpm-v1.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/compiler.h> #include <linux/types.h> diff --git a/drivers/tpm/tpm_tis_lpc.c b/drivers/tpm/tpm_tis_lpc.c index da4269a..2dd374c 100644 --- a/drivers/tpm/tpm_tis_lpc.c +++ b/drivers/tpm/tpm_tis_lpc.c @@ -18,6 +18,7 @@ #include <mapmem.h> #include <tpm-v1.h> #include <asm/io.h> +#include <linux/delay.h> #define PREFIX "lpc_tpm: " diff --git a/drivers/tpm/tpm_tis_st33zp24_i2c.c b/drivers/tpm/tpm_tis_st33zp24_i2c.c index c8f8265..a253ee1 100644 --- a/drivers/tpm/tpm_tis_st33zp24_i2c.c +++ b/drivers/tpm/tpm_tis_st33zp24_i2c.c @@ -19,6 +19,7 @@ #include <log.h> #include <tpm-v1.h> #include <errno.h> +#include <linux/delay.h> #include <linux/types.h> #include <asm/unaligned.h> diff --git a/drivers/tpm/tpm_tis_st33zp24_spi.c b/drivers/tpm/tpm_tis_st33zp24_spi.c index 8e7b297..ef54e3b 100644 --- a/drivers/tpm/tpm_tis_st33zp24_spi.c +++ b/drivers/tpm/tpm_tis_st33zp24_spi.c @@ -19,6 +19,7 @@ #include <spi.h> #include <tpm-v1.h> #include <errno.h> +#include <linux/delay.h> #include <linux/types.h> #include <asm/unaligned.h> #include <linux/compat.h> diff --git a/drivers/ufs/ufs.c b/drivers/ufs/ufs.c index bbb18e8..136dab5 100644 --- a/drivers/ufs/ufs.c +++ b/drivers/ufs/ufs.c @@ -19,6 +19,7 @@ #include <malloc.h> #include <hexdump.h> #include <scsi.h> +#include <linux/delay.h> #include <linux/dma-mapping.h> diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index 4266bd6..4a6374c 100644 --- a/drivers/usb/cdns3/ep0.c +++ b/drivers/usb/cdns3/ep0.c @@ -13,6 +13,7 @@ #include <cpu_func.h> #include <asm/cache.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/usb/composite.h> #include <linux/iopoll.h> diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index caed27c..f5b6e5b 100644 --- a/drivers/usb/cdns3/gadget.c +++ b/drivers/usb/cdns3/gadget.c @@ -59,6 +59,7 @@ #include <dm.h> #include <dm/device_compat.h> #include <dm/devres.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/usb/gadget.h> #include <linux/compat.h> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index f21dd2b..8d418c9 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -20,6 +20,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/err.h> #include <linux/ioport.h> diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c index f66f083..6567502 100644 --- a/drivers/usb/dwc3/dwc3-meson-g12a.c +++ b/drivers/usb/dwc3/dwc3-meson-g12a.c @@ -14,6 +14,7 @@ #include <dm/lists.h> #include <dwc3-uboot.h> #include <generic-phy.h> +#include <linux/delay.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <malloc.h> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 8945abc..2aec874 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -20,6 +20,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/list.h> diff --git a/drivers/usb/dwc3/samsung_usb_phy.c b/drivers/usb/dwc3/samsung_usb_phy.c index 6770614..abbd413 100644 --- a/drivers/usb/dwc3/samsung_usb_phy.c +++ b/drivers/usb/dwc3/samsung_usb_phy.c @@ -10,6 +10,7 @@ #include <common.h> #include <asm/arch/power.h> #include <asm/arch/xhci-exynos.h> +#include <linux/delay.h> void exynos5_usb3_phy_init(struct exynos_usb3_phy *phy) { diff --git a/drivers/usb/dwc3/ti_usb_phy.c b/drivers/usb/dwc3/ti_usb_phy.c index 6b0166a..ade3a7f 100644 --- a/drivers/usb/dwc3/ti_usb_phy.c +++ b/drivers/usb/dwc3/ti_usb_phy.c @@ -21,6 +21,7 @@ #include <ti-usb-phy-uboot.h> #include <dm/device_compat.h> #include <dm/devres.h> +#include <linux/delay.h> #include <linux/ioport.h> #include <asm/io.h> #include <asm/arch/sys_proto.h> diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 5f56f6f..db75ae2 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/asix.c @@ -12,6 +12,7 @@ #include <usb.h> #include <malloc.h> #include <memalign.h> +#include <linux/delay.h> #include <linux/mii.h> #include "usb_ether.h" diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c index b4a5639..381bef2 100644 --- a/drivers/usb/eth/asix88179.c +++ b/drivers/usb/eth/asix88179.c @@ -10,6 +10,7 @@ #include <log.h> #include <usb.h> #include <net.h> +#include <linux/delay.h> #include <linux/mii.h> #include "usb_ether.h" #include <malloc.h> diff --git a/drivers/usb/eth/mcs7830.c b/drivers/usb/eth/mcs7830.c index b8fe652..0cb7dbc 100644 --- a/drivers/usb/eth/mcs7830.c +++ b/drivers/usb/eth/mcs7830.c @@ -14,6 +14,7 @@ #include <errno.h> #include <log.h> #include <net.h> +#include <linux/delay.h> #include <linux/mii.h> #include <malloc.h> #include <memalign.h> diff --git a/drivers/usb/eth/r8152.c b/drivers/usb/eth/r8152.c index 1454d98..61b8683 100644 --- a/drivers/usb/eth/r8152.c +++ b/drivers/usb/eth/r8152.c @@ -12,6 +12,7 @@ #include <memalign.h> #include <net.h> #include <usb.h> +#include <linux/delay.h> #include <linux/mii.h> #include <linux/bitops.h> #include "usb_ether.h" diff --git a/drivers/usb/eth/r8152_fw.c b/drivers/usb/eth/r8152_fw.c index 4bf4066..d564de2 100644 --- a/drivers/usb/eth/r8152_fw.c +++ b/drivers/usb/eth/r8152_fw.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <linux/delay.h> #include "usb_ether.h" #include "r8152.h" diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index 82fea74..d3532df 100644 --- a/drivers/usb/eth/smsc95xx.c +++ b/drivers/usb/eth/smsc95xx.c @@ -15,6 +15,7 @@ #include <net.h> #include <usb.h> #include <asm/unaligned.h> +#include <linux/delay.h> #include <linux/mii.h> #include "usb_ether.h" diff --git a/drivers/usb/gadget/bcm_udc_otg_phy.c b/drivers/usb/gadget/bcm_udc_otg_phy.c index 3ecb669..c89cd57 100644 --- a/drivers/usb/gadget/bcm_udc_otg_phy.c +++ b/drivers/usb/gadget/bcm_udc_otg_phy.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h> +#include <linux/delay.h> #include "dwc2_udc_otg_priv.h" #include "bcm_udc_otg.h" diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index 5677eab..cdbdbcc 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -15,6 +15,7 @@ #include <malloc.h> #include <asm/byteorder.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/unaligned.h> diff --git a/drivers/usb/gadget/designware_udc.c b/drivers/usb/gadget/designware_udc.c index 70c5c67..7fc5d27 100644 --- a/drivers/usb/gadget/designware_udc.c +++ b/drivers/usb/gadget/designware_udc.c @@ -10,6 +10,7 @@ #include <common.h> #include <serial.h> #include <asm/io.h> +#include <linux/delay.h> #include <env.h> #include <usbdevice.h> diff --git a/drivers/usb/gadget/dwc2_udc_otg.c b/drivers/usb/gadget/dwc2_udc_otg.c index 32bf927..eaa5dcb 100644 --- a/drivers/usb/gadget/dwc2_udc_otg.c +++ b/drivers/usb/gadget/dwc2_udc_otg.c @@ -27,6 +27,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/list.h> diff --git a/drivers/usb/gadget/dwc2_udc_otg_phy.c b/drivers/usb/gadget/dwc2_udc_otg_phy.c index c4338af..7f8e956 100644 --- a/drivers/usb/gadget/dwc2_udc_otg_phy.c +++ b/drivers/usb/gadget/dwc2_udc_otg_phy.c @@ -18,6 +18,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/list.h> #include <malloc.h> diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index 900eb96..88fc87f 100644 --- a/drivers/usb/gadget/f_thor.c +++ b/drivers/usb/gadget/f_thor.c @@ -23,6 +23,7 @@ #include <malloc.h> #include <memalign.h> #include <version.h> +#include <linux/delay.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <linux/usb/composite.h> diff --git a/drivers/usb/gadget/fotg210.c b/drivers/usb/gadget/fotg210.c index 4211eea..af43433 100644 --- a/drivers/usb/gadget/fotg210.c +++ b/drivers/usb/gadget/fotg210.c @@ -14,6 +14,7 @@ #include <net.h> #include <malloc.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/usb/ch9.h> diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c index ebf1f4e..d19ac1d 100644 --- a/drivers/usb/gadget/pxa25x_udc.c +++ b/drivers/usb/gadget/pxa25x_udc.c @@ -29,6 +29,7 @@ #include <malloc.h> #include <asm/io.h> #include <asm/arch/pxa.h> +#include <linux/delay.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 15c4378..ba362b8 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c @@ -13,6 +13,7 @@ #include <asm/byteorder.h> #include <asm/io.h> #include <usbdevice.h> +#include <linux/delay.h> #include <usb/pxa27x_udc.h> #include <usb/udc.h> diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index 0d694f3..cefe9d8 100644 --- a/drivers/usb/host/dwc2.c +++ b/drivers/usb/host/dwc2.c @@ -20,6 +20,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <power/regulator.h> #include <reset.h> diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index 9093e02..0b0b213 100644 --- a/drivers/usb/host/ehci-exynos.c +++ b/drivers/usb/host/ehci-exynos.c @@ -10,6 +10,7 @@ #include <dm.h> #include <fdtdec.h> #include <log.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <malloc.h> #include <usb.h> diff --git a/drivers/usb/host/ehci-faraday.c b/drivers/usb/host/ehci-faraday.c index f46bdb4..b61b538 100644 --- a/drivers/usb/host/ehci-faraday.c +++ b/drivers/usb/host/ehci-faraday.c @@ -10,6 +10,7 @@ #include <log.h> #include <asm/io.h> #include <usb.h> +#include <linux/delay.h> #include <usb/fusbh200.h> #include <usb/fotg210.h> diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 75d24ae..ac6c5b5 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -13,6 +13,7 @@ #include <pci.h> #include <usb.h> #include <asm/io.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <hwconfig.h> #include <fsl_usb.h> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 1e03c83..f79f063 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -21,6 +21,7 @@ #include <watchdog.h> #include <dm/device_compat.h> #include <linux/compiler.h> +#include <linux/delay.h> #include "ehci.h" diff --git a/drivers/usb/host/ehci-marvell.c b/drivers/usb/host/ehci-marvell.c index 75dfaf8..8fe685a 100644 --- a/drivers/usb/host/ehci-marvell.c +++ b/drivers/usb/host/ehci-marvell.c @@ -9,6 +9,7 @@ #include <log.h> #include <asm/io.h> #include <usb.h> +#include <linux/delay.h> #include "ehci.h" #include <linux/mbus.h> #include <asm/arch/cpu.h> diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c index 82f99e9..212b362 100644 --- a/drivers/usb/host/ehci-mx5.c +++ b/drivers/usb/host/ehci-mx5.c @@ -9,6 +9,7 @@ #include <usb.h> #include <errno.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index 8fcb82e..24f8ad7 100644 --- a/drivers/usb/host/ehci-mx6.c +++ b/drivers/usb/host/ehci-mx6.c @@ -10,6 +10,7 @@ #include <errno.h> #include <wait_bit.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index 4941cb9..d0b7ac5 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -8,6 +8,7 @@ #include <usb.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <errno.h> diff --git a/drivers/usb/host/ehci-mxs.c b/drivers/usb/host/ehci-mxs.c index 8e8f6d4..824c620 100644 --- a/drivers/usb/host/ehci-mxs.c +++ b/drivers/usb/host/ehci-mxs.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <errno.h> +#include <linux/delay.h> #include "ehci.h" diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index a5061f7..5fee537 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -13,6 +13,7 @@ #include <common.h> #include <log.h> #include <usb.h> +#include <linux/delay.h> #include <usb/ulpi.h> #include <errno.h> #include <asm/io.h> diff --git a/drivers/usb/host/ehci-rmobile.c b/drivers/usb/host/ehci-rmobile.c index 4868581..130b73d 100644 --- a/drivers/usb/host/ehci-rmobile.c +++ b/drivers/usb/host/ehci-rmobile.c @@ -9,6 +9,7 @@ #include <common.h> #include <asm/io.h> #include <asm/arch/ehci-rmobile.h> +#include <linux/delay.h> #include "ehci.h" #if defined(CONFIG_R8A7740) diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c index 8f5bfd5..3e87e0c 100644 --- a/drivers/usb/host/ehci-spear.c +++ b/drivers/usb/host/ehci-spear.c @@ -12,6 +12,7 @@ #include <log.h> #include <asm/io.h> #include <usb.h> +#include <linux/delay.h> #include "ehci.h" #include <asm/arch/hardware.h> #include <asm/arch/spr_misc.h> diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 55fe6fe..d81f4a0 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <log.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm-generic/gpio.h> diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c index ba6eeca..562207d 100644 --- a/drivers/usb/host/ehci-vf.c +++ b/drivers/usb/host/ehci-vf.c @@ -19,6 +19,7 @@ #include <asm/arch/crm_regs.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/regs-usbphy.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <linux/libfdt.h> #include <fdtdec.h> diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index ac1ad29..c62d8fe 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -33,6 +33,7 @@ #include <dm.h> #include <errno.h> #include <asm/cache.h> +#include <linux/delay.h> #if defined(CONFIG_PCI_OHCI) # include <pci.h> diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index d790839..37aa2c5 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c @@ -12,6 +12,7 @@ #include <usb.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/iopoll.h> #include <power/regulator.h> diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index e08da61..7c823f2 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -21,6 +21,7 @@ #include <common.h> #include <mpc8xx.h> #include <usb.h> +#include <linux/delay.h> #include "sl811.h" #include "../../../board/kup/common/kup.h" diff --git a/drivers/usb/host/utmi-armada100.c b/drivers/usb/host/utmi-armada100.c index 8a40f66..5d66e58 100644 --- a/drivers/usb/host/utmi-armada100.c +++ b/drivers/usb/host/utmi-armada100.c @@ -14,6 +14,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/armada100.h> #include <asm/arch/utmi-armada100.h> +#include <linux/delay.h> static int utmi_phy_init(void) { diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c index 37b59c8..cf72f02 100644 --- a/drivers/usb/host/xhci-dwc3.c +++ b/drivers/usb/host/xhci-dwc3.c @@ -13,6 +13,7 @@ #include <log.h> #include <usb.h> #include <dwc3-uboot.h> +#include <linux/delay.h> #include <usb/xhci.h> #include <asm/io.h> diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index 76aa431..1705acc 100644 --- a/drivers/usb/host/xhci-exynos5.c +++ b/drivers/usb/host/xhci-exynos5.c @@ -16,6 +16,7 @@ #include <dm.h> #include <fdtdec.h> #include <log.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <malloc.h> #include <usb.h> diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index ec57f72..963cc3c 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -30,6 +30,7 @@ #include <asm/cache.h> #include <asm/unaligned.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/errno.h> #include <usb/xhci.h> diff --git a/drivers/usb/musb-new/am35x.c b/drivers/usb/musb-new/am35x.c index 69d6104..0a52e09 100644 --- a/drivers/usb/musb-new/am35x.c +++ b/drivers/usb/musb-new/am35x.c @@ -27,6 +27,7 @@ #include <common.h> #include <asm/omap_musb.h> #include <linux/bug.h> +#include <linux/delay.h> #include "linux-compat.h" #endif diff --git a/drivers/usb/musb-new/da8xx.c b/drivers/usb/musb-new/da8xx.c index 1f6e51e..67488dd 100644 --- a/drivers/usb/musb-new/da8xx.c +++ b/drivers/usb/musb-new/da8xx.c @@ -21,6 +21,7 @@ #include <dm/lists.h> #include <asm/arch/hardware.h> #include <asm/arch/da8xx-usb.h> +#include <linux/delay.h> #include <linux/usb/otg.h> #include <asm/omap_musb.h> #include <generic-phy.h> diff --git a/drivers/usb/musb-new/linux-compat.h b/drivers/usb/musb-new/linux-compat.h index f366ae5..733b197 100644 --- a/drivers/usb/musb-new/linux-compat.h +++ b/drivers/usb/musb-new/linux-compat.h @@ -2,6 +2,7 @@ #define __LINUX_COMPAT_H__ #include <malloc.h> +#include <linux/delay.h> #include <linux/list.h> #include <linux/compat.h> diff --git a/drivers/usb/musb-new/mt85xx.c b/drivers/usb/musb-new/mt85xx.c index 131fd7d..c281c38 100644 --- a/drivers/usb/musb-new/mt85xx.c +++ b/drivers/usb/musb-new/mt85xx.c @@ -14,6 +14,7 @@ #include <dm.h> #include <dm/lists.h> #include <dm/root.h> +#include <linux/delay.h> #include <linux/usb/musb.h> #include <usb.h> #include "linux-compat.h" diff --git a/drivers/usb/musb-new/musb_uboot.c b/drivers/usb/musb-new/musb_uboot.c index 72f14b9..988071a 100644 --- a/drivers/usb/musb-new/musb_uboot.c +++ b/drivers/usb/musb-new/musb_uboot.c @@ -2,6 +2,7 @@ #include <console.h> #include <malloc.h> #include <watchdog.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/usb/ch9.h> diff --git a/drivers/usb/musb-new/pic32.c b/drivers/usb/musb-new/pic32.c index c7867fe..66e8e9c 100644 --- a/drivers/usb/musb-new/pic32.c +++ b/drivers/usb/musb-new/pic32.c @@ -11,6 +11,7 @@ #include <common.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/usb/musb.h> #include "linux-compat.h" #include "musb_core.h" diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index 1c32f3f..a29d10d 100644 --- a/drivers/usb/musb-new/sunxi.c +++ b/drivers/usb/musb-new/sunxi.c @@ -30,6 +30,7 @@ #include <dm/device_compat.h> #include <dm/lists.h> #include <dm/root.h> +#include <linux/delay.h> #include <linux/usb/musb.h> #include "linux-compat.h" #include "musb_core.h" diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c index 0617364..f945f1f 100644 --- a/drivers/usb/musb/am35x.c +++ b/drivers/usb/musb/am35x.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <linux/delay.h> #include "am35x.h" diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c index 632a988..afbc648 100644 --- a/drivers/usb/musb/musb_hcd.c +++ b/drivers/usb/musb/musb_hcd.c @@ -10,6 +10,7 @@ #include <common.h> #include <log.h> #include <usb.h> +#include <linux/delay.h> #include "musb_hcd.h" /* MSC control transfers */ diff --git a/drivers/usb/musb/musb_udc.c b/drivers/usb/musb/musb_udc.c index 4d77236..d901f87 100644 --- a/drivers/usb/musb/musb_udc.c +++ b/drivers/usb/musb/musb_udc.c @@ -41,6 +41,7 @@ #include <hang.h> #include <serial.h> #include <usbdevice.h> +#include <linux/delay.h> #include <usb/udc.h> #include "../gadget/ep0.h" #include "musb_core.h" diff --git a/drivers/usb/phy/omap_usb_phy.c b/drivers/usb/phy/omap_usb_phy.c index 9209942..be733f3 100644 --- a/drivers/usb/phy/omap_usb_phy.c +++ b/drivers/usb/phy/omap_usb_phy.c @@ -11,6 +11,7 @@ #include <common.h> #include <usb.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/omap_common.h> #include <asm/arch/cpu.h> diff --git a/drivers/usb/phy/rockchip_usb2_phy.c b/drivers/usb/phy/rockchip_usb2_phy.c index 24ea8d8..6a60523 100644 --- a/drivers/usb/phy/rockchip_usb2_phy.c +++ b/drivers/usb/phy/rockchip_usb2_phy.c @@ -7,6 +7,7 @@ #include <hang.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include "../gadget/dwc2_udc_otg_priv.h" diff --git a/drivers/usb/phy/twl4030.c b/drivers/usb/phy/twl4030.c index d2945d1..676868b 100644 --- a/drivers/usb/phy/twl4030.c +++ b/drivers/usb/phy/twl4030.c @@ -24,6 +24,7 @@ */ #include <twl4030.h> +#include <linux/delay.h> /* Defines for bits in registers */ #define OPMODE_MASK (3 << 3) diff --git a/drivers/usb/ulpi/omap-ulpi-viewport.c b/drivers/usb/ulpi/omap-ulpi-viewport.c index 26299e0..8b930e3 100644 --- a/drivers/usb/ulpi/omap-ulpi-viewport.c +++ b/drivers/usb/ulpi/omap-ulpi-viewport.c @@ -10,6 +10,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <usb/ulpi.h> #define OMAP_ULPI_WR_OPSEL (2 << 22) diff --git a/drivers/usb/ulpi/ulpi-viewport.c b/drivers/usb/ulpi/ulpi-viewport.c index a2158c9..3bb152b 100644 --- a/drivers/usb/ulpi/ulpi-viewport.c +++ b/drivers/usb/ulpi/ulpi-viewport.c @@ -15,6 +15,7 @@ #include <common.h> #include <asm/io.h> +#include <linux/delay.h> #include <usb/ulpi.h> /* ULPI viewport control bits */ diff --git a/drivers/usb/ulpi/ulpi.c b/drivers/usb/ulpi/ulpi.c index e8499bf..dd0da0e 100644 --- a/drivers/usb/ulpi/ulpi.c +++ b/drivers/usb/ulpi/ulpi.c @@ -22,6 +22,7 @@ #include <common.h> #include <exports.h> #include <log.h> +#include <linux/delay.h> #include <usb/ulpi.h> #define ULPI_ID_REGS_COUNT 4 diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index b1e67cc..2707ff5 100644 --- a/drivers/video/am335x-fb.c +++ b/drivers/video/am335x-fb.c @@ -22,6 +22,7 @@ #include <asm/arch/sys_proto.h> #include <asm/io.h> #include <asm/utils.h> +#include <linux/delay.h> #include <linux/err.h> #include "am335x-fb.h" diff --git a/drivers/video/anx9804.c b/drivers/video/anx9804.c index fc2f431..b050c42 100644 --- a/drivers/video/anx9804.c +++ b/drivers/video/anx9804.c @@ -11,6 +11,7 @@ #include <common.h> #include <i2c.h> +#include <linux/delay.h> #include "anx98xx-edp.h" #include "anx9804.h" diff --git a/drivers/video/ati_radeon_fb.c b/drivers/video/ati_radeon_fb.c index 6fce033..c4da2e3 100644 --- a/drivers/video/ati_radeon_fb.c +++ b/drivers/video/ati_radeon_fb.c @@ -16,6 +16,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <command.h> #include <bios_emul.h> diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index f66ce2c..ae8ec26 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -18,6 +18,7 @@ #include <lcd.h> #include <bmp_layout.h> #include <atmel_lcdc.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/bridge/anx6345.c b/drivers/video/bridge/anx6345.c index 6a30a5e..1c5270f 100644 --- a/drivers/video/bridge/anx6345.c +++ b/drivers/video/bridge/anx6345.c @@ -10,6 +10,7 @@ #include <edid.h> #include <log.h> #include <video_bridge.h> +#include <linux/delay.h> #include "../anx98xx-edp.h" #define DP_MAX_LINK_RATE 0x001 diff --git a/drivers/video/bridge/ps862x.c b/drivers/video/bridge/ps862x.c index 52e7d69..8399c6f 100644 --- a/drivers/video/bridge/ps862x.c +++ b/drivers/video/bridge/ps862x.c @@ -10,6 +10,7 @@ #include <i2c.h> #include <log.h> #include <video_bridge.h> +#include <linux/delay.h> #include <power/regulator.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/bridge/video-bridge-uclass.c b/drivers/video/bridge/video-bridge-uclass.c index bd6635e..389b02c 100644 --- a/drivers/video/bridge/video-bridge-uclass.c +++ b/drivers/video/bridge/video-bridge-uclass.c @@ -10,6 +10,7 @@ #include <edid.h> #include <log.h> #include <video_bridge.h> +#include <linux/delay.h> int video_bridge_set_backlight(struct udevice *dev, int percent) { diff --git a/drivers/video/broadwell_igd.c b/drivers/video/broadwell_igd.c index fafde7d..8e8fe9d 100644 --- a/drivers/video/broadwell_igd.c +++ b/drivers/video/broadwell_igd.c @@ -20,6 +20,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/iomap.h> #include <asm/arch/pch.h> +#include <linux/delay.h> #include "i915_reg.h" struct broadwell_igd_priv { diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index c21da6e..4984dda 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -17,6 +17,7 @@ #include <malloc.h> #include <memalign.h> #include <video_fb.h> +#include <linux/delay.h> #include <linux/list.h> #include <linux/fb.h> diff --git a/drivers/video/dw_hdmi.c b/drivers/video/dw_hdmi.c index daf0024..c4fbb18 100644 --- a/drivers/video/dw_hdmi.c +++ b/drivers/video/dw_hdmi.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <i2c.h> #include <media_bus_format.h> +#include <linux/delay.h> #include "dw_hdmi.h" struct tmds_n_cts { diff --git a/drivers/video/dw_mipi_dsi.c b/drivers/video/dw_mipi_dsi.c index 5dd75e7..e8a3af7 100644 --- a/drivers/video/dw_mipi_dsi.c +++ b/drivers/video/dw_mipi_dsi.c @@ -20,6 +20,7 @@ #include <asm/arch/gpio.h> #include <dm/device-internal.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/iopoll.h> #include <video_bridge.h> diff --git a/drivers/video/exynos/exynos_dp.c b/drivers/video/exynos/exynos_dp.c index c20d3c1..749bde8 100644 --- a/drivers/video/exynos/exynos_dp.c +++ b/drivers/video/exynos/exynos_dp.c @@ -11,6 +11,7 @@ #include <display.h> #include <fdtdec.h> #include <log.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <malloc.h> #include <video_bridge.h> diff --git a/drivers/video/exynos/exynos_dp_lowlevel.c b/drivers/video/exynos/exynos_dp_lowlevel.c index b835b5c..ae500a7 100644 --- a/drivers/video/exynos/exynos_dp_lowlevel.c +++ b/drivers/video/exynos/exynos_dp_lowlevel.c @@ -8,6 +8,7 @@ #include <config.h> #include <common.h> #include <log.h> +#include <linux/delay.h> #include <linux/err.h> #include <asm/arch/cpu.h> #include <asm/arch/dp_info.h> diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c index 48edb9c..ab7d61a 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c @@ -9,6 +9,7 @@ #include <common.h> #include <lcd.h> #include <log.h> +#include <linux/delay.h> #include <linux/err.h> #include <asm/arch/dsim.h> #include <asm/arch/mipi_dsim.h> diff --git a/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c index 1b6e71d..8111acd 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c +++ b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c @@ -11,6 +11,7 @@ #include <asm/arch/mipi_dsim.h> #include <asm/arch/power.h> #include <asm/arch/cpu.h> +#include <linux/delay.h> #include "exynos_mipi_dsi_lowlevel.h" #include "exynos_mipi_dsi_common.h" diff --git a/drivers/video/formike.c b/drivers/video/formike.c index 1e2febd..5cbe50d 100644 --- a/drivers/video/formike.c +++ b/drivers/video/formike.c @@ -9,6 +9,7 @@ #include <errno.h> #include <log.h> #include <spi.h> +#include <linux/delay.h> #define TAG_READ 0x80 #define TAG_WRITE 0x00 diff --git a/drivers/video/hitachi_tx18d42vm_lcd.c b/drivers/video/hitachi_tx18d42vm_lcd.c index a57abd2..c6c8df6 100644 --- a/drivers/video/hitachi_tx18d42vm_lcd.c +++ b/drivers/video/hitachi_tx18d42vm_lcd.c @@ -7,6 +7,7 @@ #include <common.h> #include <malloc.h> +#include <linux/delay.h> #include <asm/gpio.h> #include <errno.h> diff --git a/drivers/video/imx/ipu_common.c b/drivers/video/imx/ipu_common.c index 0f24de9..5908b23 100644 --- a/drivers/video/imx/ipu_common.c +++ b/drivers/video/imx/ipu_common.c @@ -13,6 +13,7 @@ /* #define DEBUG */ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <linux/types.h> #include <linux/err.h> #include <asm/io.h> diff --git a/drivers/video/imx/ipu_disp.c b/drivers/video/imx/ipu_disp.c index 2274976..c2f00bf 100644 --- a/drivers/video/imx/ipu_disp.c +++ b/drivers/video/imx/ipu_disp.c @@ -14,6 +14,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <linux/types.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/drivers/video/ivybridge_igd.c b/drivers/video/ivybridge_igd.c index 1881423..4c57e31 100644 --- a/drivers/video/ivybridge_igd.c +++ b/drivers/video/ivybridge_igd.c @@ -17,6 +17,7 @@ #include <asm/pci.h> #include <asm/arch/pch.h> #include <asm/arch/sandybridge.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/ld9040.c b/drivers/video/ld9040.c index 93aea05..a36bc2f 100644 --- a/drivers/video/ld9040.c +++ b/drivers/video/ld9040.c @@ -8,6 +8,7 @@ #include <common.h> #include <spi.h> +#include <linux/delay.h> static const unsigned char SEQ_USER_SETTING[] = { 0xF0, 0x5A, 0x5A diff --git a/drivers/video/lg4573.c b/drivers/video/lg4573.c index 8b458e2..45df9c1 100644 --- a/drivers/video/lg4573.c +++ b/drivers/video/lg4573.c @@ -15,6 +15,7 @@ #include <errno.h> #include <spi.h> #include <asm/gpio.h> +#include <linux/delay.h> #define PWR_ON_DELAY_MSECS 120 diff --git a/drivers/video/logicore_dp_tx.c b/drivers/video/logicore_dp_tx.c index 84fafe4..9bc4bbb 100644 --- a/drivers/video/logicore_dp_tx.c +++ b/drivers/video/logicore_dp_tx.c @@ -14,6 +14,7 @@ #include <display.h> #include <dm.h> #include <errno.h> +#include <linux/delay.h> #include "axi.h" #include "logicore_dp_dpcd.h" diff --git a/drivers/video/mali_dp.c b/drivers/video/mali_dp.c index 87a75a9..1e6da0e 100644 --- a/drivers/video/mali_dp.c +++ b/drivers/video/mali_dp.c @@ -18,6 +18,7 @@ #include <fdt_support.h> #include <clk.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/sizes.h> #define MALIDP_CORE_ID 0x0018 diff --git a/drivers/video/mb862xx.c b/drivers/video/mb862xx.c index a3a7a8d..04e435f 100644 --- a/drivers/video/mb862xx.c +++ b/drivers/video/mb862xx.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <asm/io.h> #include <env.h> diff --git a/drivers/video/mvebu_lcd.c b/drivers/video/mvebu_lcd.c index d5ed8d0..f3cb2bf 100644 --- a/drivers/video/mvebu_lcd.c +++ b/drivers/video/mvebu_lcd.c @@ -11,6 +11,7 @@ #include <video.h> #include <asm/cache.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/mbus.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index 4b8712f..9b42ca8 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -10,6 +10,7 @@ #include <log.h> #include <malloc.h> #include <video_fb.h> +#include <linux/delay.h> #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 0235731..6589a2a 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -11,6 +11,7 @@ #include <log.h> #include <asm/cache.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/errno.h> #include <malloc.h> #include <video.h> diff --git a/drivers/video/orisetech_otm8009a.c b/drivers/video/orisetech_otm8009a.c index 650ed07..b1f2dd4 100644 --- a/drivers/video/orisetech_otm8009a.c +++ b/drivers/video/orisetech_otm8009a.c @@ -14,6 +14,7 @@ #include <panel.h> #include <asm/gpio.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <power/regulator.h> #define OTM8009A_BACKLIGHT_DEFAULT 240 diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c index 149fbae..468a570 100644 --- a/drivers/video/pwm_backlight.c +++ b/drivers/video/pwm_backlight.c @@ -13,6 +13,7 @@ #include <malloc.h> #include <pwm.h> #include <asm/gpio.h> +#include <linux/delay.h> #include <power/regulator.h> /** diff --git a/drivers/video/raydium-rm68200.c b/drivers/video/raydium-rm68200.c index 853dbc5..9169280 100644 --- a/drivers/video/raydium-rm68200.c +++ b/drivers/video/raydium-rm68200.c @@ -14,6 +14,7 @@ #include <panel.h> #include <asm/gpio.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <power/regulator.h> /*** Manufacturer Command Set ***/ diff --git a/drivers/video/rockchip/rk3288_vop.c b/drivers/video/rockchip/rk3288_vop.c index 0f91dab..25ef25b 100644 --- a/drivers/video/rockchip/rk3288_vop.c +++ b/drivers/video/rockchip/rk3288_vop.c @@ -15,6 +15,7 @@ #include <asm/arch-rockchip/clock.h> #include <asm/arch-rockchip/grf_rk3288.h> #include <asm/arch-rockchip/hardware.h> +#include <linux/delay.h> #include "rk_vop.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/rockchip/rk_edp.c b/drivers/video/rockchip/rk_edp.c index 49ed5aa..92188be 100644 --- a/drivers/video/rockchip/rk_edp.c +++ b/drivers/video/rockchip/rk_edp.c @@ -21,6 +21,7 @@ #include <asm/arch-rockchip/grf_rk3288.h> #include <asm/arch-rockchip/hardware.h> #include <dt-bindings/clock/rk3288-cru.h> +#include <linux/delay.h> #define MAX_CR_LOOP 5 #define MAX_EQ_LOOP 5 diff --git a/drivers/video/s6e8ax0.c b/drivers/video/s6e8ax0.c index 9c7b5f6..497258f 100644 --- a/drivers/video/s6e8ax0.c +++ b/drivers/video/s6e8ax0.c @@ -7,6 +7,7 @@ #include <common.h> #include <asm/arch/mipi_dsim.h> +#include <linux/delay.h> #include "exynos/exynos_mipi_dsi_lowlevel.h" #include "exynos/exynos_mipi_dsi_common.h" diff --git a/drivers/video/scf0403_lcd.c b/drivers/video/scf0403_lcd.c index 60075a6..54f0f88 100644 --- a/drivers/video/scf0403_lcd.c +++ b/drivers/video/scf0403_lcd.c @@ -17,6 +17,7 @@ #include <malloc.h> #include <asm/gpio.h> #include <spi.h> +#include <linux/delay.h> struct scf0403_cmd { u16 cmd; diff --git a/drivers/video/ssd2828.c b/drivers/video/ssd2828.c index 83566bc..4cdcbe7 100644 --- a/drivers/video/ssd2828.c +++ b/drivers/video/ssd2828.c @@ -14,6 +14,7 @@ #include <mipi_display.h> #include <asm/arch/gpio.h> #include <asm/gpio.h> +#include <linux/delay.h> #include "videomodes.h" #include "ssd2828.h" diff --git a/drivers/video/sunxi/lcdc.c b/drivers/video/sunxi/lcdc.c index e8da302..73033c3 100644 --- a/drivers/video/sunxi/lcdc.c +++ b/drivers/video/sunxi/lcdc.c @@ -9,6 +9,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <asm/arch/clock.h> #include <asm/arch/lcdc.h> diff --git a/drivers/video/sunxi/sunxi_display.c b/drivers/video/sunxi/sunxi_display.c index c4c1d1b..f52aba4 100644 --- a/drivers/video/sunxi/sunxi_display.c +++ b/drivers/video/sunxi/sunxi_display.c @@ -11,6 +11,7 @@ #include <efi_loader.h> #include <init.h> #include <time.h> +#include <linux/delay.h> #include <asm/arch/clock.h> #include <asm/arch/display.h> diff --git a/drivers/video/sunxi/sunxi_dw_hdmi.c b/drivers/video/sunxi/sunxi_dw_hdmi.c index 546b863..cf2d6a7 100644 --- a/drivers/video/sunxi/sunxi_dw_hdmi.c +++ b/drivers/video/sunxi/sunxi_dw_hdmi.c @@ -15,6 +15,7 @@ #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/lcdc.h> +#include <linux/delay.h> struct sunxi_dw_hdmi_priv { struct dw_hdmi hdmi; diff --git a/drivers/video/tda19988.c b/drivers/video/tda19988.c index 01ed619..4223d5f 100644 --- a/drivers/video/tda19988.c +++ b/drivers/video/tda19988.c @@ -9,6 +9,7 @@ #include <dm.h> #include <display.h> #include <i2c.h> +#include <linux/delay.h> /* * TDA19988 uses paged registers. We encode the page# in the upper diff --git a/drivers/video/tegra124/display.c b/drivers/video/tegra124/display.c index 0aa9541..6c27932 100644 --- a/drivers/video/tegra124/display.c +++ b/drivers/video/tegra124/display.c @@ -22,6 +22,7 @@ #include <asm/arch/pwm.h> #include <asm/arch-tegra/dc.h> #include <dm/uclass-internal.h> +#include <linux/delay.h> #include "displayport.h" /* return in 1000ths of a Hertz */ diff --git a/drivers/video/tegra124/dp.c b/drivers/video/tegra124/dp.c index e90210b..59758eb 100644 --- a/drivers/video/tegra124/dp.c +++ b/drivers/video/tegra124/dp.c @@ -13,6 +13,7 @@ #include <video_bridge.h> #include <asm/io.h> #include <asm/arch-tegra/dc.h> +#include <linux/delay.h> #include "display.h" #include "edid.h" #include "sor.h" diff --git a/drivers/video/tegra124/sor.c b/drivers/video/tegra124/sor.c index 0d35a3e..49f33c1 100644 --- a/drivers/video/tegra124/sor.c +++ b/drivers/video/tegra124/sor.c @@ -14,6 +14,7 @@ #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch-tegra/dc.h> +#include <linux/delay.h> #include "displayport.h" #include "sor.h" #include <linux/err.h> diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 64430f3..2e5bbad 100644 --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -15,6 +15,7 @@ #include <dm/device.h> #include <linux/bug.h> #include <linux/compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/io.h> #include "virtio_pci.h" diff --git a/drivers/w1/mxc_w1.c b/drivers/w1/mxc_w1.c index 08715c6..1881a3b 100644 --- a/drivers/w1/mxc_w1.c +++ b/drivers/w1/mxc_w1.c @@ -21,6 +21,7 @@ #include <common.h> #include <dm.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/io.h> #include <w1.h> diff --git a/drivers/w1/w1-gpio.c b/drivers/w1/w1-gpio.c index 90821cf..45ad47a 100644 --- a/drivers/w1/w1-gpio.c +++ b/drivers/w1/w1-gpio.c @@ -11,6 +11,7 @@ #include <dm.h> #include <log.h> #include <w1.h> +#include <linux/delay.h> #include <asm/gpio.h> diff --git a/examples/api/libgenwrap.c b/examples/api/libgenwrap.c index 51d6273..3aa2228 100644 --- a/examples/api/libgenwrap.c +++ b/examples/api/libgenwrap.c @@ -12,6 +12,7 @@ #include <common.h> #include <command.h> #include <hang.h> +#include <linux/delay.h> #include <linux/types.h> #include <api_public.h> diff --git a/examples/standalone/atmel_df_pow2.c b/examples/standalone/atmel_df_pow2.c index b71b406..9c74f49 100644 --- a/examples/standalone/atmel_df_pow2.c +++ b/examples/standalone/atmel_df_pow2.c @@ -9,6 +9,7 @@ #include <common.h> #include <exports.h> #include <spi.h> +#include <linux/delay.h> #define CMD_ID 0x9f #define CMD_STAT 0xd7 diff --git a/examples/standalone/smc91111_eeprom.c b/examples/standalone/smc91111_eeprom.c index 631b1b0..bf7e930 100644 --- a/examples/standalone/smc91111_eeprom.c +++ b/examples/standalone/smc91111_eeprom.c @@ -12,6 +12,7 @@ #include <common.h> #include <exports.h> +#include <linux/delay.h> #include "../drivers/net/smc91111.h" #ifndef SMC91111_EEPROM_INIT diff --git a/include/common.h b/include/common.h index 552cb29..f7c0f57 100644 --- a/include/common.h +++ b/include/common.h @@ -17,7 +17,6 @@ #include <errno.h> #include <time.h> #include <linux/bitops.h> -#include <linux/delay.h> #include <linux/types.h> #include <linux/printk.h> #include <linux/string.h> diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h index 866049f..97d8cc4 100644 --- a/include/configs/MPC8560ADS.h +++ b/include/configs/MPC8560ADS.h @@ -17,6 +17,8 @@ #ifndef __CONFIG_H #define __CONFIG_H +#include <linux/delay.h> + /* High Level Configuration Options */ #define CONFIG_CPM2 1 /* has CPM2 */ diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 4e833fa..79edfa7 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -104,6 +104,7 @@ #ifndef __ASSEMBLY__ #include <asm/arch/gpio.h> +#include <linux/delay.h> #include <linux/stringify.h> extern void __set_direction(unsigned pin, int high); void set_sda(int state); diff --git a/include/exports.h b/include/exports.h index 85f9a7a..b300554 100644 --- a/include/exports.h +++ b/include/exports.h @@ -2,6 +2,7 @@ #define __EXPORTS_H__ #include <irq_func.h> +#include <linux/delay.h> #ifndef __ASSEMBLY__ #ifdef CONFIG_PHY_AQUANTIA diff --git a/include/regmap.h b/include/regmap.h index 9ada1af..30183c5 100644 --- a/include/regmap.h +++ b/include/regmap.h @@ -7,6 +7,8 @@ #ifndef __REGMAP_H #define __REGMAP_H +#include <linux/delay.h> + /** * DOC: Overview * diff --git a/include/xyzModem.h b/include/xyzModem.h index 6fae634..a8911b6 100644 --- a/include/xyzModem.h +++ b/include/xyzModem.h @@ -25,6 +25,8 @@ #ifndef _XYZMODEM_H_ #define _XYZMODEM_H_ +#include <linux/delay.h> + #define xyzModem_xmodem 1 #define xyzModem_ymodem 2 /* Don't define this until the protocol support is in place */ diff --git a/lib/panic.c b/lib/panic.c index 8e72c26..58382ac 100644 --- a/lib/panic.c +++ b/lib/panic.c @@ -14,6 +14,7 @@ #if !defined(CONFIG_PANIC_HANG) #include <command.h> #endif +#include <linux/delay.h> static void panic_finish(void) __attribute__ ((noreturn)); @@ -14,6 +14,7 @@ #include <watchdog.h> #include <div64.h> #include <asm/io.h> +#include <linux/delay.h> #ifndef CONFIG_WD_PERIOD # define CONFIG_WD_PERIOD (10 * 1000 * 1000) /* 10 seconds default */ @@ -13,6 +13,7 @@ #include <env.h> #include <log.h> #include <net.h> +#include <linux/delay.h> #include "arp.h" diff --git a/net/bootp.c b/net/bootp.c index d1e8cb8..de3dab4 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -17,6 +17,7 @@ #include <net.h> #include <rand.h> #include <uuid.h> +#include <linux/delay.h> #include <net/tftp.h> #include "bootp.h" #ifdef CONFIG_LED_STATUS diff --git a/test/time_ut.c b/test/time_ut.c index 70a866b..80b82db 100644 --- a/test/time_ut.c +++ b/test/time_ut.c @@ -8,6 +8,7 @@ #include <command.h> #include <errno.h> #include <time.h> +#include <linux/delay.h> static int test_get_timer(void) { |