diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:11 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | c05ed00afb95fa5237f16962fccf5810437317bf (patch) | |
tree | 19bb43dd3c7d12205fffb104db7c799d0a37af9f /drivers/ddr/fsl | |
parent | 07e1114671c8b13d1bb90548a3c5ea31c49415d1 (diff) |
common: Drop linux/delay.h from common header
Move this uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/fsl')
-rw-r--r-- | drivers/ddr/fsl/arm_ddr_gen3.c | 1 | ||||
-rw-r--r-- | drivers/ddr/fsl/fsl_ddr_gen4.c | 1 | ||||
-rw-r--r-- | drivers/ddr/fsl/fsl_mmdc.c | 1 | ||||
-rw-r--r-- | drivers/ddr/fsl/mpc85xx_ddr_gen1.c | 1 | ||||
-rw-r--r-- | drivers/ddr/fsl/mpc85xx_ddr_gen2.c | 1 | ||||
-rw-r--r-- | drivers/ddr/fsl/mpc85xx_ddr_gen3.c | 1 | ||||
-rw-r--r-- | drivers/ddr/fsl/mpc86xx_ddr.c | 1 | ||||
-rw-r--r-- | drivers/ddr/fsl/util.c | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/drivers/ddr/fsl/arm_ddr_gen3.c b/drivers/ddr/fsl/arm_ddr_gen3.c index abe8c11d14..629ba6784e 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 2b8475fcd1..eab5b82b23 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 08285120ca..cbd625b7ee 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 4b39b17f72..572f3703d5 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 54c10a860a..d7b8064e5f 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 c6e983b5b4..ab8d2deaf9 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 737a879e93..43ed1ba432 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 7d6e08d3d1..ac4f8d2732 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> |