[PATCH 1/2] mci: imx-esdhc: remove cache snoop register access
Sascha Hauer
s.hauer at pengutronix.de
Wed Apr 24 03:34:18 EDT 2013
Remove some leftover from former powerpc support which has no
relevance for i.MX based esdhc controllers.
Signed-off-by: Sascha Hauer <s.hauer at 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
More information about the barebox
mailing list