]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
fsl_esdhc.c: Always make check_and_invalidate_dcache_range available
authorTom Rini <trini@konsulko.com>
Sun, 2 Aug 2015 14:27:52 +0000 (10:27 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 05:55:16 +0000 (07:55 +0200)
This function is called from esdhc_send_cmd so we need it available to
everyone.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/mmc/fsl_esdhc.c

index 57aab963d98c5fca441909ed43128e659ec6352f..20a2df1f01efb4dd9023ded72b60fe0315d1a4b7 100644 (file)
@@ -287,7 +287,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) {
@@ -310,7 +309,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,