summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e02911a)
It is not supported by the controller.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38234
3c298f89-4303-0410-b956-
a3cf2f4a3e73
switch (nfc->mtd.writesize) {
case 2048:
switch (nfc->mtd.writesize) {
case 2048:
+ /*
+ * Writing a subpage separately is not supported, because
+ * the controller only does ECC on full-page accesses.
+ */
+ nand->options = NAND_NO_SUBPAGE_WRITE;
+
nand->ecc.size = 512;
nand->ecc.bytes = 7;
nand->ecc.strength = 4;
nand->ecc.size = 512;
nand->ecc.bytes = 7;
nand->ecc.strength = 4;