summaryrefslogtreecommitdiffstats
path: root/drivers/mci/imx-esdhc.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-24 08:26:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-26 23:20:24 +0200
commitaec4ccd96bb9b55761230dd2198b795cec7f71eb (patch)
tree8fcc0af67823c6f3eb646c13c8e29e7245aaf33d /drivers/mci/imx-esdhc.c
parent9b22b92393a4faf61ec06daded4c03580321bd8f (diff)
downloadbarebox-aec4ccd96bb9b55761230dd2198b795cec7f71eb.tar.gz
barebox-aec4ccd96bb9b55761230dd2198b795cec7f71eb.tar.xz
mci: imx-esdhc: remove cache snoop register access
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>
Diffstat (limited to 'drivers/mci/imx-esdhc.c')
-rw-r--r--drivers/mci/imx-esdhc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index 8c2695cde..f4fdac8e0 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(&regs->scr, 0x00000040);
-
/* Reset the entire host controller */
esdhc_write32(&regs->sysctl, SYSCTL_RSTA);