aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-12-02 06:05:18 -0500
committerLinus Walleij <linus.walleij@stericsson.com>2010-12-08 07:14:32 -0500
commitedaa86a4142474c99e4741efb6a916067978a1ee (patch)
treedf5d2a115f93d335cb99fcfc2029868b9e4515f3 /arch/arm/mach-ux500
parenta5de3dc240eb4e58f02b199ed529c17b65f9adfb (diff)
ux500: minor revision to the eMMC/SD config
A small fixup for the v1(.0) ASIC. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/board-mop500-sdi.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c
index be5e8ccb97cc..4b996676594e 100644
--- a/arch/arm/mach-ux500/board-mop500-sdi.c
+++ b/arch/arm/mach-ux500/board-mop500-sdi.c
@@ -137,12 +137,21 @@ static struct mmci_platform_data mop500_sdi4_data = {
137 .gpio_wp = -1, 137 .gpio_wp = -1,
138}; 138};
139 139
140void mop500_sdi_init(void) 140void __init mop500_sdi_init(void)
141{ 141{
142 nmk_config_pins(mop500_sdi_pins, ARRAY_SIZE(mop500_sdi_pins)); 142 nmk_config_pins(mop500_sdi_pins, ARRAY_SIZE(mop500_sdi_pins));
143 143
144 /*
145 * sdi0 will finally be added when the TC35892 initializes and calls
146 * mop500_sdi_tc35892_init() above.
147 */
148
149 /* PoP:ed eMMC */
144 if (!cpu_is_u8500ed()) { 150 if (!cpu_is_u8500ed()) {
145 nmk_config_pins(mop500_sdi2_pins, ARRAY_SIZE(mop500_sdi2_pins)); 151 nmk_config_pins(mop500_sdi2_pins, ARRAY_SIZE(mop500_sdi2_pins));
152 /* POP eMMC on v1.0 has problems with high speed */
153 if (!cpu_is_u8500v10())
154 mop500_sdi2_data.capabilities |= MMC_CAP_MMC_HIGHSPEED;
146 db8500_add_sdi2(&mop500_sdi2_data); 155 db8500_add_sdi2(&mop500_sdi2_data);
147 } 156 }
148 157