Make the LPC32xx slc nand driver the default

__archive__
Alexandre Pereira da Silva 2011-04-12 10:56:56 -03:00 committed by Øyvind Harboe
parent e984dc1f16
commit 2ed19d3b9b
1 changed files with 2 additions and 2 deletions

View File

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