summaryrefslogtreecommitdiffstats
path: root/board/synopsys
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2015-04-02 10:19:12 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2015-04-03 09:47:50 +0300
commitd5717e894497124fd44289a37f818ee301640c70 (patch)
tree69b571c59371260567c62af560065c9a75ecbdef /board/synopsys
parent6eb15e50f48927c65a67371555b5afc24b3c7d21 (diff)
downloadblackbird-obmc-uboot-d5717e894497124fd44289a37f818ee301640c70.tar.gz
blackbird-obmc-uboot-d5717e894497124fd44289a37f818ee301640c70.zip
board: AXS10x - update SDIO clock value
With the most recent board firmware correct SDIO clock is 50MHz as opposed to 25 MHz before. Also set max frequency of MMC data exchange equal to SDIO clock - because there's no way to transfer data faster than interface clock. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'board/synopsys')
-rw-r--r--board/synopsys/axs101/axs101.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/synopsys/axs101/axs101.c b/board/synopsys/axs101/axs101.c
index d1271ffcca..774204976e 100644
--- a/board/synopsys/axs101/axs101.c
+++ b/board/synopsys/axs101/axs101.c
@@ -27,9 +27,9 @@ int board_mmc_init(bd_t *bis)
host->ioaddr = (void *)ARC_DWMMC_BASE;
host->buswidth = 4;
host->dev_index = 0;
- host->bus_hz = 25000000;
+ host->bus_hz = 50000000;
- add_dwmci(host, 52000000, 400000);
+ add_dwmci(host, host->bus_hz, 400000);
return 0;
}
OpenPOWER on IntegriCloud