summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorAlexandre Pereira da Silva <aletes.xgr@gmail.com>2011-04-12 10:56:56 -0300
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-04-19 12:51:36 +0200
commit2ed19d3b9ba6edbc631d26e52b95023c35632e3a (patch)
treec1e7199a8d852c1f809fd4cb77ab554309edb5bf /src/flash
parente984dc1f162ab2bd94629c32d640d804b0295553 (diff)
downloadopenocd_libswd-2ed19d3b9ba6edbc631d26e52b95023c35632e3a.tar.gz
openocd_libswd-2ed19d3b9ba6edbc631d26e52b95023c35632e3a.tar.bz2
openocd_libswd-2ed19d3b9ba6edbc631d26e52b95023c35632e3a.tar.xz
openocd_libswd-2ed19d3b9ba6edbc631d26e52b95023c35632e3a.zip
Make the LPC32xx slc nand driver the default
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nand/lpc32xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nand/lpc32xx.c b/src/flash/nand/lpc32xx.c
index 963dd131..653bcde1 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) {