From aec4ccd96bb9b55761230dd2198b795cec7f71eb Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 24 Apr 2013 08:26:42 +0200 Subject: 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 --- drivers/mci/imx-esdhc.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'drivers/mci/imx-esdhc.c') diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c index 8c2695cded..f4fdac8e01 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); -- cgit v1.2.3