From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/2] mci: imx-esdhc: remove cache snoop register access
Date: Wed, 24 Apr 2013 09:34:18 +0200 [thread overview]
Message-ID: <1366788859-11565-2-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1366788859-11565-1-git-send-email-s.hauer@pengutronix.de>
Remove some leftover from former powerpc support which has no
relevance for i.MX based esdhc controllers.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/mci/imx-esdhc.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index 8c2695c..f4fdac8 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -61,14 +61,11 @@ struct fsl_esdhc {
u32 fevt;
char reserved2[168];
u32 hostver;
- char reserved3[780];
- u32 scr;
};
struct fsl_esdhc_host {
struct mci_host mci;
struct fsl_esdhc __iomem *regs;
- u32 no_snoop;
unsigned long cur_clock;
struct device_d *dev;
struct clk *clk;
@@ -454,10 +451,6 @@ static int esdhc_init(struct mci_host *mci, struct device_d *dev)
int timeout = 1000;
int ret = 0;
- /* Enable cache snooping */
- if (host && !host->no_snoop)
- esdhc_write32(®s->scr, 0x00000040);
-
/* Reset the entire host controller */
esdhc_write32(®s->sysctl, SYSCTL_RSTA);
--
1.8.2.rc2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-04-24 7:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 7:34 [PATCH] mci: factor out common SDHCI register defines Sascha Hauer
2013-04-24 7:34 ` Sascha Hauer [this message]
2013-04-24 7:34 ` [PATCH 2/2] mci: imx-esdhc: factor out common sdhci registers Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1366788859-11565-2-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox