diff options
Diffstat (limited to 'drivers/mmc/tegra_mmc.c')
-rw-r--r-- | drivers/mmc/tegra_mmc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mmc/tegra_mmc.c b/drivers/mmc/tegra_mmc.c index 7f943b2afc6..0c1dc8ed842 100644 --- a/drivers/mmc/tegra_mmc.c +++ b/drivers/mmc/tegra_mmc.c @@ -560,6 +560,14 @@ static void mmc_reset(struct mmc_host *host) timeout--; udelay(1000); } + +#if defined(CONFIG_TEGRA3) + /* TCW Set SD_BUS_VOLTAGE and SD_BUS_POWER here for T30! */ + /* TCW Find a way to do it based on fuses, device caps, etc. */ + writeb(0x0F, &host->reg->pwrcon); + printf("mmc_reset: power control = %02X, host control = %02X\n", + readb(&host->reg->pwrcon), readb(&host->reg->hostctl)); +#endif } static int mmc_core_init(struct mmc *mmc) |