]> git.sur5r.net Git - openocd/commitdiff
Make the LPC32xx slc nand driver the default
authorAlexandre Pereira da Silva <aletes.xgr@gmail.com>
Tue, 12 Apr 2011 13:56:56 +0000 (10:56 -0300)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 19 Apr 2011 10:51:36 +0000 (12:51 +0200)
src/flash/nand/lpc32xx.c

index 963dd13120a19f0735b99c29a3aef2b324cca7c6..653bcde1e9228cd4225e025c6b7eaf496e1e6268 100644 (file)
@@ -227,8 +227,8 @@ static int lpc32xx_init(struct nand_device *nand)
        /* select MLC controller if none is currently selected */
        if (lpc32xx_info->selected_controller == LPC32xx_NO_CONTROLLER) {
                LOG_DEBUG("no LPC32xx NAND flash controller selected, "
-                         "using default 'mlc'");
-               lpc32xx_info->selected_controller = LPC32xx_MLC_CONTROLLER;
+                         "using default 'slc'");
+               lpc32xx_info->selected_controller = LPC32xx_SLC_CONTROLLER;
        }
 
        if (lpc32xx_info->selected_controller == LPC32xx_MLC_CONTROLLER) {