mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
nand/fsl: add NAND_NO_SUBPAGE_WRITE to eLBC and IFC drivers
These controllers can only do hardware ECC on full page transfers. Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
parent
13d1143ffb
commit
cb04c77234
2 changed files with 2 additions and 2 deletions
|
@ -748,7 +748,7 @@ static int fsl_elbc_chip_init(int devnum, u8 *addr)
|
|||
|
||||
/* set up nand options */
|
||||
nand->options = NAND_NO_READRDY | NAND_NO_AUTOINCR |
|
||||
NAND_USE_FLASH_BBT;
|
||||
NAND_USE_FLASH_BBT | NAND_NO_SUBPAGE_WRITE;
|
||||
|
||||
nand->controller = &elbc_ctrl->controller;
|
||||
nand->priv = priv;
|
||||
|
|
|
@ -797,7 +797,7 @@ int board_nand_init(struct nand_chip *nand)
|
|||
|
||||
/* set up nand options */
|
||||
nand->options = NAND_NO_READRDY | NAND_NO_AUTOINCR |
|
||||
NAND_USE_FLASH_BBT;
|
||||
NAND_USE_FLASH_BBT | NAND_NO_SUBPAGE_WRITE;
|
||||
|
||||
if (cspr & CSPR_PORT_SIZE_16) {
|
||||
nand->read_byte = fsl_ifc_read_byte16;
|
||||
|
|
Loading…
Add table
Reference in a new issue