summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-09-09 21:47:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-10 09:47:51 +0200
commita4c86922406104f615c179bdaecf47d1ab56c995 (patch)
treeba1932d0c16505260f40486b9dd637f6e79d620f /drivers/mtd
parent0ea2ee7866f121163a28fd24ca0967d97b744b10 (diff)
downloadbarebox-a4c86922406104f615c179bdaecf47d1ab56c995.tar.gz
barebox-a4c86922406104f615c179bdaecf47d1ab56c995.tar.xz
ARM i.MX: Enable clocks in common place
On i.MX we enable all necessary clocks during startup of the clock controller driver, so we do not need the register hacking in the drivers anymore. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/nand_imx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c
index b1b7f55e0e..0489d098b7 100644
--- a/drivers/mtd/nand/nand_imx.c
+++ b/drivers/mtd/nand/nand_imx.c
@@ -1107,12 +1107,6 @@ static int __init imxnd_probe(struct device_d *dev)
struct nand_ecclayout *oob_smallpage, *oob_largepage, *oob_4kpage;
int err = 0;
-#ifdef CONFIG_ARCH_IMX27
- PCCR1 |= PCCR1_NFC_BAUDEN;
-#endif
-#ifdef CONFIG_ARCH_IMX21
- PCCR0 |= PCCR0_NFC_EN;
-#endif
/* Allocate memory for MTD device structure and private data */
host = kzalloc(sizeof(struct imx_nand_host) + NAND_MAX_PAGESIZE +
NAND_MAX_OOBSIZE, GFP_KERNEL);