ARM: LPC32xx: Remove SLC controller initialization from platform init
authorRoland Stigge <stigge@antcom.de>
Thu, 14 Jun 2012 14:16:16 +0000 (16:16 +0200)
committerRoland Stigge <stigge@antcom.de>
Thu, 14 Jun 2012 14:16:16 +0000 (16:16 +0200)
Since we now support two MTD NAND controllers (MLC and SLC) for LPC32xx via DT,
we don't initialize the SLC controller statically anymore, but do it via the
clock setup (see previous patch).

Signed-off-by: Roland Stigge <stigge@antcom.de>
Tested-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
arch/arm/mach-lpc32xx/phy3250.c

index 540106c..42a078e 100644 (file)
@@ -241,10 +241,6 @@ static void __init lpc3250_machine_init(void)
 {
        u32 tmp;
 
-       /* Setup SLC NAND controller muxing */
-       __raw_writel(LPC32XX_CLKPWR_NANDCLK_SEL_SLC,
-               LPC32XX_CLKPWR_NAND_CLK_CTRL);
-
        /* Setup LCD muxing to RGB565 */
        tmp = __raw_readl(LPC32XX_CLKPWR_LCDCLK_CTRL) &
                ~(LPC32XX_CLKPWR_LCDCTRL_LCDTYPE_MSK |