summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-11-21 13:59:29 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-11-21 13:59:29 +0100
commitcbb530bed5770abfae17eb5acaa22b10602e7fd1 (patch)
tree8c41b126f67f17fb86484841b1486710bc1eea24
parentcc22d3d969367d76cebc0b3244bf8d00c364a56d (diff)
colibri_t30: hack to fix eMMC detection
Looks like this DPD stuff whatever it is fails eMMC detection on our current Colibri T30 prototypes. See f4cd0d4448d65a42b65c338f85a3ab8064923c61.
-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 939a9b8ad404..be9470fa62ac 100644
--- a/arch/arm/mach-tegra/pm-t3.c
+++ b/arch/arm/mach-tegra/pm-t3.c
@@ -480,7 +480,10 @@ struct tegra_io_dpd tegra_list_io_dpd[] = {
/* sd dpd bits in dpd2 register */
IO_DPD_INFO("sdhci-tegra.0", 1, 1), /* SDMMC1 */
IO_DPD_INFO("sdhci-tegra.2", 1, 2), /* SDMMC3 */
+#ifndef CONFIG_MACH_COLIBRI_T30
+/* Hack: fix eMMC detection */
IO_DPD_INFO("sdhci-tegra.3", 1, 3), /* SDMMC4 */
+#endif
};
/* we want to cleanup bootloader io dpd setting in kernel */