Make the LPC32xx slc nand driver the default
This commit is contained in:
parent
e984dc1f16
commit
2ed19d3b9b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue