[U-Boot] [PATCH] esdhc/usdhc: Fix warning when CONFIG_SYS_FSL_ESDHC_USE_PIO is not set

2014-05-23 Thread Tom Rini
In 7168977 we made calls to check_and_invalidate_dcache_range() conditional on !CONFIG_SYS_FSL_ESDHC_USE_PIO. Only define this function in this case as well. Signed-off-by: Tom Rini tr...@ti.com --- drivers/mmc/fsl_esdhc.c |3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [U-Boot] [PATCH] esdhc/usdhc: Fix warning when CONFIG_SYS_FSL_ESDHC_USE_PIO is not set

2014-05-23 Thread Tom Rini
On Fri, May 23, 2014 at 09:20:53AM -0400, Tom Rini wrote: In 7168977 we made calls to check_and_invalidate_dcache_range() conditional on !CONFIG_SYS_FSL_ESDHC_USE_PIO. Only define this function in this case as well. Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot/master, thanks!