mtd: rawnand: fsl_elbc: Implement RNDOUT command
This is needed for SW ECC. Signed-off-by: Marek Behún <marek.behun@nic.cz> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
parent
9fed311591
commit
070fb9744d
|
@ -355,6 +355,15 @@ static void fsl_elbc_cmdfunc(struct nand_chip *chip, unsigned int command,
|
||||||
fsl_elbc_run_command(mtd);
|
fsl_elbc_run_command(mtd);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/* RNDOUT moves the pointer inside the page */
|
||||||
|
case NAND_CMD_RNDOUT:
|
||||||
|
dev_dbg(priv->dev,
|
||||||
|
"fsl_elbc_cmdfunc: NAND_CMD_RNDOUT, column: 0x%x.\n",
|
||||||
|
column);
|
||||||
|
|
||||||
|
elbc_fcm_ctrl->index = column;
|
||||||
|
return;
|
||||||
|
|
||||||
/* READOOB reads only the OOB because no ECC is performed. */
|
/* READOOB reads only the OOB because no ECC is performed. */
|
||||||
case NAND_CMD_READOOB:
|
case NAND_CMD_READOOB:
|
||||||
dev_vdbg(priv->dev,
|
dev_vdbg(priv->dev,
|
||||||
|
|
Loading…
Reference in New Issue