summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-01-30 14:48:01 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-01-30 14:48:01 +0100
commit9c3a5de99af755b86ef12ca1a9314987aad6073a (patch)
tree7507a5a25b04aea40d789f1aadadd3f85fcd5220 /arch
parentfa2371bff9ac03581881849d8f95678ef3992719 (diff)
apalis_t30: hack to fix MMC1 slot card detection
Looks like this DPD stuff whatever it is fails 8-bit MMC1 slot card detection on our current Apalis T30 prototypes. See f4cd0d4448d65a42b65c338f85a3ab8064923c61.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/pm-t3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pm-t3.c b/arch/arm/mach-tegra/pm-t3.c
index 8fb6a084bc86..dbc10f229551 100644
--- a/arch/arm/mach-tegra/pm-t3.c
+++ b/arch/arm/mach-tegra/pm-t3.c
@@ -478,7 +478,10 @@ void tegra_lp0_cpu_mode(bool enter)
struct tegra_io_dpd tegra_list_io_dpd[] = {
/* sd dpd bits in dpd2 register */
+#ifndef CONFIG_MACH_APALIS_T30
+/* Hack: fix MMC1 card detection */
IO_DPD_INFO("sdhci-tegra.0", 1, 1), /* SDMMC1 */
+#endif
IO_DPD_INFO("sdhci-tegra.2", 1, 2), /* SDMMC3 */
#if !defined(CONFIG_MACH_APALIS_T30) && !defined(CONFIG_MACH_COLIBRI_T30)
/* Hack: fix eMMC detection */