mmc: rk_sdmmc: delete rk3126b burst_limit
authorxiaoyao <xiaoyao@rock-chips.com>
Mon, 20 Apr 2015 00:53:34 +0000 (08:53 +0800)
committerxiaoyao <xiaoyao@rock-chips.com>
Tue, 21 Apr 2015 09:19:17 +0000 (17:19 +0800)
tested-by: xiaoyao <xiaoyao@rock-chips.com>
Reviewed-by: lintao <lintao@rock-chips.com>
Signed-off-by: xiaoyao <xiaoyao@rock-chips.com>
drivers/mmc/host/rk_sdmmc.c

index e4488a8de558e6f94202c398b9a860fb1a5dfdd7..6f68cd43783045de457d096973102e5906075719 100755 (executable)
@@ -643,13 +643,7 @@ static void dw_mci_edmac_start_dma(struct dw_mci *host, unsigned int sg_len)
                mburst = burst_limit;
                idx = (ilog2(mburst) > 0) ? (ilog2(mburst) - 1) : 0;
 
-               if (soc_is_rk3126b()) {
-                       idx = 0;
-                       rx_wmark = (host->fifo_depth) / 2 - 1;
-               } else {
-                       rx_wmark = mszs[idx] - 1;
-               }
-
+               rx_wmark = mszs[idx] - 1;
                tx_wmark = (host->fifo_depth) / 2;
                fifoth_val = SDMMC_SET_FIFOTH(idx, rx_wmark, tx_wmark);