summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap3
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2012-12-03 02:19:44 +0000
committerTom Rini <trini@ti.com>2013-03-08 16:41:13 -0500
commite874d5b001e9d7ea0fc7596ef0fe6dd520ed8ec6 (patch)
tree986ee326891b81627b807faaa381dff0fea1a8d2 /arch/arm/cpu/armv7/omap3
parentcc22b0c0122cee0ab59dcc3c06c52835b38e8791 (diff)
downloadu-boot-imx-e874d5b001e9d7ea0fc7596ef0fe6dd520ed8ec6.zip
u-boot-imx-e874d5b001e9d7ea0fc7596ef0fe6dd520ed8ec6.tar.gz
u-boot-imx-e874d5b001e9d7ea0fc7596ef0fe6dd520ed8ec6.tar.bz2
omap_hsmmc: implement driver check for card detection
Implement driver check for card detection. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'arch/arm/cpu/armv7/omap3')
-rw-r--r--arch/arm/cpu/armv7/omap3/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c
index 89c587e..f9f7aae 100644
--- a/arch/arm/cpu/armv7/omap3/board.c
+++ b/arch/arm/cpu/armv7/omap3/board.c
@@ -98,11 +98,11 @@ int board_mmc_init(bd_t *bis)
{
switch (spl_boot_device()) {
case BOOT_DEVICE_MMC1:
- omap_mmc_init(0, 0, 0);
+ omap_mmc_init(0, 0, 0, -1);
break;
case BOOT_DEVICE_MMC2:
case BOOT_DEVICE_MMC2_2:
- omap_mmc_init(1, 0, 0);
+ omap_mmc_init(1, 0, 0, -1);
break;
}
return 0;