diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:39 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:24:58 -0500 |
commit | 1eb69ae498567bb0b62ee554647204e8245cdacc (patch) | |
tree | 85471c9088c5a801b3adcf397c2310726fe08fea /drivers/mmc | |
parent | 3374d28b3443cc5565816d1f58d01ebfa14ea5ae (diff) | |
download | u-boot-1eb69ae498567bb0b62ee554647204e8245cdacc.tar.gz u-boot-1eb69ae498567bb0b62ee554647204e8245cdacc.tar.xz u-boot-1eb69ae498567bb0b62ee554647204e8245cdacc.zip |
common: Move ARM cache operations out of common.h
These functions are CPU-related and do not use driver model. Move them to
cpu_func.h
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/dw_mmc.c | 1 | ||||
-rw-r--r-- | drivers/mmc/fsl_esdhc.c | 1 | ||||
-rw-r--r-- | drivers/mmc/fsl_esdhc_imx.c | 1 | ||||
-rw-r--r-- | drivers/mmc/fsl_esdhc_spl.c | 1 | ||||
-rw-r--r-- | drivers/mmc/meson_gx_mmc.c | 1 | ||||
-rw-r--r-- | drivers/mmc/omap_hsmmc.c | 1 | ||||
-rw-r--r-- | drivers/mmc/sdhci.c | 1 | ||||
-rw-r--r-- | drivers/mmc/stm32_sdmmc2.c | 1 | ||||
-rw-r--r-- | drivers/mmc/tmio-common.c | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index ebe7bcdd90..1224540811 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_mmc.c @@ -7,6 +7,7 @@ #include <bouncebuf.h> #include <common.h> +#include <cpu_func.h> #include <errno.h> #include <malloc.h> #include <memalign.h> diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 09cb773fe9..1e7d606cd8 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -12,6 +12,7 @@ #include <config.h> #include <common.h> #include <command.h> +#include <cpu_func.h> #include <errno.h> #include <hwconfig.h> #include <mmc.h> diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 4099386313..f1afab742d 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -14,6 +14,7 @@ #include <common.h> #include <command.h> #include <clk.h> +#include <cpu_func.h> #include <errno.h> #include <hwconfig.h> #include <mmc.h> diff --git a/drivers/mmc/fsl_esdhc_spl.c b/drivers/mmc/fsl_esdhc_spl.c index 4557cd3dd7..3021c3d6d4 100644 --- a/drivers/mmc/fsl_esdhc_spl.c +++ b/drivers/mmc/fsl_esdhc_spl.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <mmc.h> #include <malloc.h> diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc/meson_gx_mmc.c index 031cc79ccb..b5f5122b1b 100644 --- a/drivers/mmc/meson_gx_mmc.c +++ b/drivers/mmc/meson_gx_mmc.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <dm.h> #include <fdtdec.h> #include <malloc.h> diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index bade129aea..dab3425e97 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -24,6 +24,7 @@ #include <config.h> #include <common.h> +#include <cpu_func.h> #include <malloc.h> #include <memalign.h> #include <mmc.h> diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 32e83db8e0..01fa5a9d4d 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <dm.h> #include <errno.h> #include <malloc.h> diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c index 1726ed72ef..0a7a2fe624 100644 --- a/drivers/mmc/stm32_sdmmc2.c +++ b/drivers/mmc/stm32_sdmmc2.c @@ -6,6 +6,7 @@ #include <common.h> #include <clk.h> +#include <cpu_func.h> #include <dm.h> #include <fdtdec.h> #include <linux/libfdt.h> diff --git a/drivers/mmc/tmio-common.c b/drivers/mmc/tmio-common.c index 812205a21f..669410d97f 100644 --- a/drivers/mmc/tmio-common.c +++ b/drivers/mmc/tmio-common.c @@ -6,6 +6,7 @@ #include <common.h> #include <clk.h> +#include <cpu_func.h> #include <fdtdec.h> #include <mmc.h> #include <dm.h> |