Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba225a0e authored by Roland Stigge's avatar Roland Stigge
Browse files

ARM: LPC32xx: Remove SLC controller initialization from platform init



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: default avatarRoland Stigge <stigge@antcom.de>
Tested-by: default avatarAlexandre Pereira da Silva <aletes.xgr@gmail.com>
parent b27f4822
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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 |