From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy.Wu Date: Thu, 14 Jan 2021 18:09:30 -0700 (MST) Subject: [PATCH] mmc: sdhci: skip cache invalidation if DMA is not used In-Reply-To: References: Message-ID: <1610672970480-0.post@n7.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The config usage keep the same style as function sdhci_prepare_dma(). Reviewed-by: Andy Wu > +#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/