]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
ARM: ux500: Enable support for UHS-I SD-cards
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 23 May 2013 13:13:50 +0000 (15:13 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 12:06:50 +0000 (14:06 +0200)
By setting the host capabilities MMC_CAP_UHS_SDR12|25 for
the SD card device we enable support for UHS cards. The
supported mode is SDR12 and SDR25.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500-sdi.c

index 2e341fb4065c4fb33a5a88d28ec07b8843f84c7f..43be3e0d4e30ef9cd2a63c0a5d92c8e6cd486a1f 100644 (file)
@@ -56,7 +56,9 @@ struct mmci_platform_data mop500_sdi0_data = {
        .capabilities   = MMC_CAP_4_BIT_DATA |
                                MMC_CAP_SD_HIGHSPEED |
                                MMC_CAP_MMC_HIGHSPEED |
-                               MMC_CAP_ERASE,
+                               MMC_CAP_ERASE |
+                               MMC_CAP_UHS_SDR12 |
+                               MMC_CAP_UHS_SDR25,
        .gpio_wp        = -1,
        .sigdir         = MCI_ST_FBCLKEN |
                                MCI_ST_CMDDIREN |