* [PATCH v3 3/4] mmc: sdhci-s3c: use the sdhci-s3c.h instead of regs-sdhci.h
@ 2012-03-06 6:17 Jaehoon Chung
0 siblings, 0 replies; only message in thread
From: Jaehoon Chung @ 2012-03-06 6:17 UTC (permalink / raw)
To: linux-mmc, linux-samsung-soc
Cc: Chris Ball, Kyungmin Park, 'kgene kim'
Using the sdhci-s3c.h
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
drivers/mmc/host/sdhci-s3c.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 9d31331..edf1cd2 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -26,9 +26,9 @@
#include <linux/mmc/host.h>
#include <plat/sdhci.h>
-#include <plat/regs-sdhci.h>
#include "sdhci-pltfm.h"
+#include "sdhci-s3c.h"
#include "sdhci.h"
#define MAX_BUS_CLK (4)
@@ -221,14 +221,12 @@ static void sdhci_s3c_set_clock(struct sdhci_host *host, unsigned int clock)
}
/* reprogram default hardware configuration */
- writel(S3C64XX_SDHCI_CONTROL4_DRIVE_9mA,
- host->ioaddr + S3C64XX_SDHCI_CONTROL4);
+ writel(S3C_SDHCI_CONTROL4_DRIVE_9mA,
+ host->ioaddr + S3C_SDHCI_CONTROL4);
ctrl = readl(host->ioaddr + S3C_SDHCI_CONTROL2);
- ctrl |= (S3C64XX_SDHCI_CTRL2_ENSTAASYNCCLR |
- S3C64XX_SDHCI_CTRL2_ENCMDCNFMSK |
- S3C_SDHCI_CTRL2_ENFBCLKRX |
- S3C_SDHCI_CTRL2_DFCNT_NONE |
+ ctrl |= (S3C_SDHCI_CTRL2_ENSTAASYNCCLR | S3C_SDHCI_CTRL2_ENCMDCNFMSK |
+ S3C_SDHCI_CTRL2_ENFBCLKRX | S3C_SDHCI_CTRL2_DFCNT_NONE |
S3C_SDHCI_CTRL2_ENCLKOUTHOLD);
writel(ctrl, host->ioaddr + S3C_SDHCI_CONTROL2);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-06 6:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 6:17 [PATCH v3 3/4] mmc: sdhci-s3c: use the sdhci-s3c.h instead of regs-sdhci.h Jaehoon Chung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).