]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm926ejs/lpc32xx/devices.c
nand: lpc32xx: add SLC NAND controller support
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / lpc32xx / devices.c
index 9c8d65560a6157ddc6fe21647a71dcd56b10792e..c0c9c6c3122a0984e1d5bd7e5cb083f39f7efa94 100644 (file)
@@ -59,6 +59,12 @@ void lpc32xx_mlc_nand_init(void)
        writel(CLK_NAND_MLC | CLK_NAND_MLC_INT, &clk->flashclk_ctrl);
 }
 
+void lpc32xx_slc_nand_init(void)
+{
+       /* Enable SLC NAND interface */
+       writel(CLK_NAND_SLC | CLK_NAND_SLC_SELECT, &clk->flashclk_ctrl);
+}
+
 void lpc32xx_i2c_init(unsigned int devnum)
 {
        /* Enable I2C interface */