diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2011-02-25 11:08:13 +0900 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-25 10:30:49 -0400 |
commit | a5289a433dd7b15df248d1f0272f52be38fe6971 (patch) | |
tree | 88b627a212992363d9f30b36c693b948a2bb5067 | |
parent | cf5e23e1c27af4291cf90020c295756ba4dcf326 (diff) | |
download | talos-obmc-linux-a5289a433dd7b15df248d1f0272f52be38fe6971.tar.gz talos-obmc-linux-a5289a433dd7b15df248d1f0272f52be38fe6971.zip |
mmc: dw_mmc: set fixed burst in BMOD register
This patch uses the fixed burst bit when using an internal DMA controller.
I found increased performance with IDMAC when this bit is set.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 5a614069cb00..87e1f57ec9ba 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -316,7 +316,7 @@ static void dw_mci_idmac_stop_dma(struct dw_mci *host) /* Stop the IDMAC running */ temp = mci_readl(host, BMOD); - temp &= ~SDMMC_IDMAC_ENABLE; + temp &= ~(SDMMC_IDMAC_ENABLE | SDMMC_IDMAC_FB); mci_writel(host, BMOD, temp); } @@ -385,7 +385,7 @@ static void dw_mci_idmac_start_dma(struct dw_mci *host, unsigned int sg_len) /* Enable the IDMAC */ temp = mci_readl(host, BMOD); - temp |= SDMMC_IDMAC_ENABLE; + temp |= SDMMC_IDMAC_ENABLE | SDMMC_IDMAC_FB; mci_writel(host, BMOD, temp); /* Start it running */ |