]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
board: AXS10x - update SDIO clock value
authorAlexey Brodkin <abrodkin@synopsys.com>
Thu, 2 Apr 2015 07:19:12 +0000 (10:19 +0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:38:14 +0000 (14:38 +0200)
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>
board/synopsys/axs101/axs101.c

index d1271ffccad2671467ff9e35a9afeed296349fb3..774204976e5de4e911e643e09ee664d49554bdbb 100644 (file)
@@ -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;
 }