From: <dinguyen@opensource.altera.com>
To: <computersforpeace@gmail.com>
Cc: dinh.linux@gmail.com, josh@joshtriplett.org,
linux-kernel@vger.kernel.org, yamada.m@jp.panasonic.com,
linux-mtd@lists.infradead.org,
Dinh Nguyen <dinguyen@opensource.altera.com>,
dwmw2@infradead.org, Graham Moore <grmoore@opensource.altera.com>
Subject: [PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver
Date: Wed, 14 Jan 2015 09:38:50 -0600 [thread overview]
Message-ID: <1421249930-21229-1-git-send-email-dinguyen@opensource.altera.com> (raw)
From: Graham Moore <grmoore@opensource.altera.com>
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>
---
drivers/mtd/nand/denali.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index b3b7ca1..b16b040 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -1565,6 +1565,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
--
2.2.1
next reply other threads:[~2015-01-14 15:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-14 15:38 dinguyen [this message]
2015-02-03 22:15 ` [PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver Dinh Nguyen
2015-02-03 22:23 ` Richard Weinberger
2015-02-05 16:18 ` Graham Moore
2015-02-06 8:29 ` Ricard Wanderlof
2015-02-06 9:28 ` Richard Weinberger
2015-03-31 1:33 ` Brian Norris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421249930-21229-1-git-send-email-dinguyen@opensource.altera.com \
--to=dinguyen@opensource.altera.com \
--cc=computersforpeace@gmail.com \
--cc=dinh.linux@gmail.com \
--cc=dwmw2@infradead.org \
--cc=grmoore@opensource.altera.com \
--cc=josh@joshtriplett.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=yamada.m@jp.panasonic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox