summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-08-02 10:27:52 -0400
committerTom Rini <trini@konsulko.com>2015-08-02 10:27:52 -0400
commite3d50d4292ebabdf61f56f3a633cdb3a1e58bf88 (patch)
tree687af89cf93b135f5138002771e426b84feb5365 /drivers/mmc
parent7a1af7a79bd79ded6a78d0c1afdbc3353669e313 (diff)
downloadblackbird-obmc-uboot-e3d50d4292ebabdf61f56f3a633cdb3a1e58bf88.tar.gz
blackbird-obmc-uboot-e3d50d4292ebabdf61f56f3a633cdb3a1e58bf88.zip
fsl_esdhc.c: Always make check_and_invalidate_dcache_range available
This function is called from esdhc_send_cmd so we need it available to everyone. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/fsl_esdhc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 0510bf02f4..0b37002659 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -274,7 +274,6 @@ static int esdhc_setup_data(struct mmc *mmc, struct mmc_data *data)
return 0;
}
-#ifndef CONFIG_SYS_FSL_ESDHC_USE_PIO
static void check_and_invalidate_dcache_range
(struct mmc_cmd *cmd,
struct mmc_data *data) {
@@ -297,7 +296,6 @@ static void check_and_invalidate_dcache_range
#endif
invalidate_dcache_range(start, end);
}
-#endif
/*
* Sends a command out on the bus. Takes the mmc pointer,
OpenPOWER on IntegriCloud