ixp4xx: remove linux 3.10 support
[openwrt.git] / target / linux / brcm2708 / patches-3.10 / 0015-sdhci-bcm2708-assume-50-MHz-eMMC-clock.patch
1 From 4e5732952c3c2f14058bd7dbcba67d911d77bd39 Mon Sep 17 00:00:00 2001
2 From: Grigori Goronzy <greg@blackbox>
3 Date: Mon, 11 Jun 2012 18:58:40 +0200
4 Subject: [PATCH 015/196] sdhci-bcm2708: assume 50 MHz eMMC clock
5
6 80 MHz clock isnt't suited well to be dividable to get SD clocks of 25
7 MHz (default mode) or 50 MHz (high speed mode). 50 MHz are perfect to
8 drive the SD interface at ideal frequencies.
9 ---
10  drivers/mmc/host/sdhci-bcm2708.c | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/drivers/mmc/host/sdhci-bcm2708.c b/drivers/mmc/host/sdhci-bcm2708.c
14 index c64de21..d174938 100644
15 --- a/drivers/mmc/host/sdhci-bcm2708.c
16 +++ b/drivers/mmc/host/sdhci-bcm2708.c
17 @@ -73,7 +73,7 @@
18  #define BCM2708_SDHCI_SLEEP_TIMEOUT 1000   /* msecs */
19  
20  /* Mhz clock that the EMMC core is running at. Should match the platform clockman settings */
21 -#define BCM2708_EMMC_CLOCK_FREQ 80000000
22 +#define BCM2708_EMMC_CLOCK_FREQ 50000000
23  
24  /*****************************************************************************\
25   *                                                                          *
26 -- 
27 1.9.1
28