Commit d99d7282 authored by Graham Moore's avatar Graham Moore Committed by Brian Norris

mtd: denali: Disable sub-page writes in Denali NAND driver

The Denali Controller IP does not support sub-page writes.
Signed-off-by: default avatarGraham Moore <grmoore@opensource.altera.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent e5860c18
...@@ -1533,6 +1533,9 @@ int denali_init(struct denali_nand_info *denali) ...@@ -1533,6 +1533,9 @@ int denali_init(struct denali_nand_info *denali)
denali->nand.options |= NAND_SKIP_BBTSCAN; denali->nand.options |= NAND_SKIP_BBTSCAN;
denali->nand.ecc.mode = NAND_ECC_HW_SYNDROME; 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, * Denali Controller only support 15bit and 8bit ECC in MRST,
* so just let controller do 15bit ECC for MLC and 8bit ECC for * so just let controller do 15bit ECC for MLC and 8bit ECC for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment