projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5860c1
)
mtd: denali: Disable sub-page writes in Denali NAND driver
author
Graham Moore
<
[email protected]
>
Wed, 14 Jan 2015 15:38:50 +0000
(09:38 -0600)
committer
Brian Norris
<
[email protected]
>
Tue, 31 Mar 2015 01:32:44 +0000
(18:32 -0700)
The Denali Controller IP does not support sub-page writes.
Signed-off-by: Graham Moore <
[email protected]
>
Signed-off-by: Dinh Nguyen <
[email protected]
>
Signed-off-by: Brian Norris <
[email protected]
>
drivers/mtd/nand/denali.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/denali.c
b/drivers/mtd/nand/denali.c
index 09f51395f2c0a79122e02737f0678e7108ce4673..870c7fc0f759dc515539c170f2befeae2d2be872 100644
(file)
--- a/
drivers/mtd/nand/denali.c
+++ b/
drivers/mtd/nand/denali.c
@@
-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