aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2013-05-23 09:13:49 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-05-27 08:06:50 -0400
commita7de8b30ca14f5991f4c19e932b53f0461af0480 (patch)
treee3c2ec4a6ae4cf2fe7007d9773a653135eac4001 /arch
parentfd1cc1b9d3b76cb187c10b1ac09fc1060e210ec9 (diff)
ARM: ux500: Set eMMC and WLAN card slot as non-removable
For several reasons, the mmc protocol layer expects devices being non-removable to use MMC_CAP_NONREMOVABLE, so then we adapt to this expectation. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/board-mop500-sdi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c
index 3c07f557914f..2e341fb4065c 100644
--- a/arch/arm/mach-ux500/board-mop500-sdi.c
+++ b/arch/arm/mach-ux500/board-mop500-sdi.c
@@ -107,7 +107,8 @@ static struct stedma40_chan_cfg sdi1_dma_cfg_tx = {
107struct mmci_platform_data mop500_sdi1_data = { 107struct mmci_platform_data mop500_sdi1_data = {
108 .ocr_mask = MMC_VDD_29_30, 108 .ocr_mask = MMC_VDD_29_30,
109 .f_max = 100000000, 109 .f_max = 100000000,
110 .capabilities = MMC_CAP_4_BIT_DATA, 110 .capabilities = MMC_CAP_4_BIT_DATA |
111 MMC_CAP_NONREMOVABLE,
111 .gpio_cd = -1, 112 .gpio_cd = -1,
112 .gpio_wp = -1, 113 .gpio_wp = -1,
113#ifdef CONFIG_STE_DMA40 114#ifdef CONFIG_STE_DMA40
@@ -146,6 +147,7 @@ struct mmci_platform_data mop500_sdi2_data = {
146 .f_max = 100000000, 147 .f_max = 100000000,
147 .capabilities = MMC_CAP_4_BIT_DATA | 148 .capabilities = MMC_CAP_4_BIT_DATA |
148 MMC_CAP_8_BIT_DATA | 149 MMC_CAP_8_BIT_DATA |
150 MMC_CAP_NONREMOVABLE |
149 MMC_CAP_MMC_HIGHSPEED | 151 MMC_CAP_MMC_HIGHSPEED |
150 MMC_CAP_ERASE | 152 MMC_CAP_ERASE |
151 MMC_CAP_CMD23, 153 MMC_CAP_CMD23,
@@ -186,6 +188,7 @@ struct mmci_platform_data mop500_sdi4_data = {
186 .f_max = 100000000, 188 .f_max = 100000000,
187 .capabilities = MMC_CAP_4_BIT_DATA | 189 .capabilities = MMC_CAP_4_BIT_DATA |
188 MMC_CAP_8_BIT_DATA | 190 MMC_CAP_8_BIT_DATA |
191 MMC_CAP_NONREMOVABLE |
189 MMC_CAP_MMC_HIGHSPEED | 192 MMC_CAP_MMC_HIGHSPEED |
190 MMC_CAP_ERASE | 193 MMC_CAP_ERASE |
191 MMC_CAP_CMD23, 194 MMC_CAP_CMD23,