aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r--drivers/mmc/host/mmci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index a923ee27c09..8741d0f5146 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -431,7 +431,7 @@ static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
431 clk = 255; 431 clk = 255;
432 host->cclk = host->mclk / (2 * (clk + 1)); 432 host->cclk = host->mclk / (2 * (clk + 1));
433 } 433 }
434 if (host->hw_designer == 0x80) 434 if (host->hw_designer == AMBA_VENDOR_ST)
435 clk |= MCI_FCEN; /* Bug fix in ST IP block */ 435 clk |= MCI_FCEN; /* Bug fix in ST IP block */
436 clk |= MCI_CLK_ENABLE; 436 clk |= MCI_CLK_ENABLE;
437 } 437 }
@@ -444,7 +444,7 @@ static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
444 break; 444 break;
445 case MMC_POWER_UP: 445 case MMC_POWER_UP:
446 /* The ST version does not have this, fall through to POWER_ON */ 446 /* The ST version does not have this, fall through to POWER_ON */
447 if (host->hw_designer != 0x80) { 447 if (host->hw_designer != AMBA_VENDOR_ST) {
448 pwr |= MCI_PWR_UP; 448 pwr |= MCI_PWR_UP;
449 break; 449 break;
450 } 450 }
@@ -454,7 +454,7 @@ static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
454 } 454 }
455 455
456 if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) { 456 if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) {
457 if (host->hw_designer != 0x80) 457 if (host->hw_designer != AMBA_VENDOR_ST)
458 pwr |= MCI_ROD; 458 pwr |= MCI_ROD;
459 else { 459 else {
460 /* 460 /*