mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
7a1af7a79b
commit
e3d50d4292
1 changed files with 0 additions and 2 deletions
|
@ -274,7 +274,6 @@ static int esdhc_setup_data(struct mmc *mmc, struct mmc_data *data)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef CONFIG_SYS_FSL_ESDHC_USE_PIO
|
|
||||||
static void check_and_invalidate_dcache_range
|
static void check_and_invalidate_dcache_range
|
||||||
(struct mmc_cmd *cmd,
|
(struct mmc_cmd *cmd,
|
||||||
struct mmc_data *data) {
|
struct mmc_data *data) {
|
||||||
|
@ -297,7 +296,6 @@ static void check_and_invalidate_dcache_range
|
||||||
#endif
|
#endif
|
||||||
invalidate_dcache_range(start, end);
|
invalidate_dcache_range(start, end);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends a command out on the bus. Takes the mmc pointer,
|
* Sends a command out on the bus. Takes the mmc pointer,
|
||||||
|
|
Loading…
Add table
Reference in a new issue