diff options
-rw-r--r-- | arch/arm/mach-tegra/board-apalis-tk1.h | 3 | ||||
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-apalis-tk1.h b/arch/arm/mach-tegra/board-apalis-tk1.h index a3561d0f87d3..b825abb0bdb2 100644 --- a/arch/arm/mach-tegra/board-apalis-tk1.h +++ b/arch/arm/mach-tegra/board-apalis-tk1.h @@ -105,6 +105,9 @@ #define UART2_3_RS232_FOFF_N TEGRA_GPIO_PV3 #endif /* IXORA */ +/* Uncomment for Apalis TK1 V1.0A prototypes and V1.0B samples */ +//#define APALIS_TK1_V10 + /* generated soc_therm OC interrupts */ #define TEGRA_SOC_OC_IRQ_BASE TEGRA_NR_IRQS #define TEGRA_SOC_OC_NUM_IRQ TEGRA_SOC_OC_IRQ_MAX diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index c5ece6947cbf..252757e0e466 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -4340,7 +4340,7 @@ static int sdhci_tegra_probe(struct platform_device *pdev) host->mmc->pm_caps |= plat->pm_caps; host->mmc->pm_flags |= plat->pm_flags; -#ifdef CONFIG_MACH_APALIS_TK1 +#ifdef APALIS_TK1_V10 /* * Enable card detect polling as we can't use SD1_CD# aka * SDMMC3_CLK_LB_OUT for now as it features some magic properties even @@ -4349,7 +4349,7 @@ static int sdhci_tegra_probe(struct platform_device *pdev) * being set to 0xfffd according to the TRM! */ host->mmc->caps |= MMC_CAP_NEEDS_POLL; -#endif /* CONFIG_MACH_APALIS_TK1 */ +#endif /* APALIS_TK1_V10 */ host->mmc->caps |= MMC_CAP_ERASE; /* enable 1/8V DDR capable */ |