[PATCH] mmc: sdhci: skip cache invalidation if DMA is not used

Andy.Wu Andy.Wu at sony.com
Fri Jan 15 02:09:30 CET 2021


The config usage keep the same style as function sdhci_prepare_dma().

Reviewed-by: Andy Wu <Andy.Wu at sony.com> 

> +#if (defined(CONFIG_MMC_SDHCI_SDMA) || CONFIG_IS_ENABLED(MMC_SDHCI_ADMA))
>   dma_unmap_single(host->start_addr, data->blocks * data->blocksize,
>   mmc_get_dma_dir(data));
> +#endif 



--
Sent from: http://u-boot.10912.n7.nabble.com/


More information about the U-Boot mailing list