Skip to content

Commit

Permalink
mtd: denali: Disable sub-page writes in Denali NAND driver
Browse files Browse the repository at this point in the history
The Denali Controller IP does not support sub-page writes.

Signed-off-by: Graham Moore <grmoore@opensource.altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
  • Loading branch information
Graham Moore authored and Brian Norris committed Mar 31, 2015
1 parent e5860c1 commit d99d728
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mtd/nand/denali.c
Original file line number Diff line number Diff line change
Expand Up @@ -1533,6 +1533,9 @@ int denali_init(struct denali_nand_info *denali)
denali->nand.options |= NAND_SKIP_BBTSCAN;
denali->nand.ecc.mode = NAND_ECC_HW_SYNDROME;

/* no subpage writes on denali */
denali->nand.options |= NAND_NO_SUBPAGE_WRITE;

/*
* Denali Controller only support 15bit and 8bit ECC in MRST,
* so just let controller do 15bit ECC for MLC and 8bit ECC for
Expand Down

0 comments on commit d99d728

Please sign in to comment.