aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@linaro.org>2012-12-04 10:15:11 +0530
committerTushar Behera <tushar.behera@linaro.org>2013-02-05 10:39:12 +0530
commita53e33480dbae1a321762aef32a08cf74cf24316 (patch)
tree8c30ad05150ad43ee0cef71ed1fd3293359cfdd1 /drivers
parent5b93b27bbcc74c5c13ec015206a5adb364f108dc (diff)
downloadu-boot-linaro-stable-a53e33480dbae1a321762aef32a08cf74cf24316.tar.gz
DRIVERS: DW_MMC: Correct the fifo_size
fifoth register does not have the fifo_size. For emmc to work, fifo_size should be set 0x80. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/dw_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 4070d4ea5..2fc5e90be 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -331,7 +331,7 @@ static int dwmci_init(struct mmc *mmc)
dwmci_writel(host, DWMCI_IDINTEN, 0);
dwmci_writel(host, DWMCI_BMOD, 1);
- fifo_size = dwmci_readl(host, DWMCI_FIFOTH);
+ fifo_size = 0x80;
if (host->fifoth_val)
fifoth_val = host->fifoth_val;
else