diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-12-13 11:55:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-13 11:55:11 +0000 |
commit | b0a3e61a589daf0438f4012146282cff2add11a2 (patch) | |
tree | 3db65380a0efbe72dc87e972a6f37c11e974daf8 /target/linux/brcm2708/patches-3.10/0014-sdhci-bcm2708-add-allow_highspeed-parameter.patch | |
parent | d36e9ec877c39e04a9fbcf5c3e04c385eac93b2a (diff) | |
download | upstream-b0a3e61a589daf0438f4012146282cff2add11a2.tar.gz upstream-b0a3e61a589daf0438f4012146282cff2add11a2.tar.bz2 upstream-b0a3e61a589daf0438f4012146282cff2add11a2.zip |
brcm2708: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43687 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0014-sdhci-bcm2708-add-allow_highspeed-parameter.patch')
-rw-r--r-- | target/linux/brcm2708/patches-3.10/0014-sdhci-bcm2708-add-allow_highspeed-parameter.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0014-sdhci-bcm2708-add-allow_highspeed-parameter.patch b/target/linux/brcm2708/patches-3.10/0014-sdhci-bcm2708-add-allow_highspeed-parameter.patch deleted file mode 100644 index 754a496609..0000000000 --- a/target/linux/brcm2708/patches-3.10/0014-sdhci-bcm2708-add-allow_highspeed-parameter.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 06d314090d1c837d5f2c42c9686c8e8fa7db7370 Mon Sep 17 00:00:00 2001 -From: Grigori Goronzy <greg@blackbox> -Date: Mon, 11 Jun 2012 18:57:13 +0200 -Subject: [PATCH 014/196] sdhci-bcm2708: add allow_highspeed parameter - -Add a parameter to disable high-speed mode for the few cards that -still might have problems. High-speed mode is enabled by default. ---- - drivers/mmc/host/sdhci-bcm2708.c | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/drivers/mmc/host/sdhci-bcm2708.c b/drivers/mmc/host/sdhci-bcm2708.c -index 3001836..c64de21 100644 ---- a/drivers/mmc/host/sdhci-bcm2708.c -+++ b/drivers/mmc/host/sdhci-bcm2708.c -@@ -129,6 +129,8 @@ static inline unsigned long int since_ns(hptime_t t) - return (unsigned long)((hptime() - t) * HPTIME_CLK_NS); - } - -+static bool allow_highspeed = 1; -+ - #if 0 - static void hptime_test(void) - { -@@ -1254,7 +1256,8 @@ static int sdhci_bcm2708_probe(struct platform_device *pdev) - host_priv->dma_chan, host_priv->dma_chan_base, - host_priv->dma_irq); - -- host->mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED; -+ if (allow_highspeed) -+ host->mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED; - #endif - - ret = sdhci_add_host(host); -@@ -1357,8 +1360,12 @@ static void __exit sdhci_drv_exit(void) - module_init(sdhci_drv_init); - module_exit(sdhci_drv_exit); - -+module_param(allow_highspeed, bool, 0444); -+ - MODULE_DESCRIPTION("Secure Digital Host Controller Interface platform driver"); - MODULE_AUTHOR("Broadcom <info@broadcom.com>"); - MODULE_LICENSE("GPL v2"); - MODULE_ALIAS("platform:"DRIVER_NAME); - -+MODULE_PARM_DESC(allow_highspeed, "Allow high speed transfers modes"); -+ --- -1.9.1 - |