diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/hsmmc.c | 3 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/mmc.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index eb92b8107d2c..df1311d93eba 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c | |||
@@ -303,6 +303,9 @@ void __init omap2_hsmmc_init(struct omap2_hsmmc_info *controllers) | |||
303 | else | 303 | else |
304 | mmc->slots[0].features |= HSMMC_HAS_PBIAS; | 304 | mmc->slots[0].features |= HSMMC_HAS_PBIAS; |
305 | 305 | ||
306 | if (cpu_is_omap44xx() && (omap_rev() > OMAP4430_REV_ES1_0)) | ||
307 | mmc->slots[0].features |= HSMMC_HAS_UPDATED_RESET; | ||
308 | |||
306 | switch (c->mmc) { | 309 | switch (c->mmc) { |
307 | case 1: | 310 | case 1: |
308 | if (mmc->slots[0].features & HSMMC_HAS_PBIAS) { | 311 | if (mmc->slots[0].features & HSMMC_HAS_PBIAS) { |
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h index 4f819fc261b7..2c4629a8d9f2 100644 --- a/arch/arm/plat-omap/include/plat/mmc.h +++ b/arch/arm/plat-omap/include/plat/mmc.h | |||
@@ -103,6 +103,7 @@ struct omap_mmc_platform_data { | |||
103 | 103 | ||
104 | /* we can put the features above into this variable */ | 104 | /* we can put the features above into this variable */ |
105 | #define HSMMC_HAS_PBIAS (1 << 0) | 105 | #define HSMMC_HAS_PBIAS (1 << 0) |
106 | #define HSMMC_HAS_UPDATED_RESET (1 << 1) | ||
106 | unsigned features; | 107 | unsigned features; |
107 | 108 | ||
108 | int switch_pin; /* gpio (card detect) */ | 109 | int switch_pin; /* gpio (card detect) */ |