From: Alexandre Pereira da Silva Date: Tue, 12 Apr 2011 13:56:56 +0000 (-0300) Subject: Make the LPC32xx slc nand driver the default X-Git-Tag: v0.5.0-rc1~86 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=2ed19d3b9ba6edbc631d26e52b95023c35632e3a;ds=sidebyside Make the LPC32xx slc nand driver the default --- diff --git a/src/flash/nand/lpc32xx.c b/src/flash/nand/lpc32xx.c index 963dd13120..653bcde1e9 100644 --- a/src/flash/nand/lpc32xx.c +++ b/src/flash/nand/lpc32xx.c @@ -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) {