mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
mtd: denali: Disable sub-page writes in Denali NAND driver
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>
This commit is contained in:
parent
e5860c18e6
commit
d99d72829e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user