All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leo Yu <liangyanyu13@gmail.com>
To: dario.binacchi@amarulasolutions.com,
	michael@amarulasolutions.com, miquel.raynal@bootlin.com,
	u-boot@lists.denx.de
Cc: jaimeliao.tw@gmail.com, Leo Yu <liangyanyu13@gmail.com>
Subject: [PATCH v2 5/5] mtd: spinand: macronix: Add continuous read mode flag for devices
Date: Wed,  2 Nov 2022 14:14:32 +0800	[thread overview]
Message-ID: <20221102061432.7113-6-liangyanyu13@gmail.com> (raw)
In-Reply-To: <20221102061432.7113-1-liangyanyu13@gmail.com>

Add continuous read mode flag to the devices support continuous read
mode in ID table.

Signed-off-by: Leo Yu <liangyanyu13@gmail.com>
---
 drivers/mtd/nand/spi/macronix.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/mtd/nand/spi/macronix.c b/drivers/mtd/nand/spi/macronix.c
index 6d643a8000..ae0374783f 100644
--- a/drivers/mtd/nand/spi/macronix.c
+++ b/drivers/mtd/nand/spi/macronix.c
@@ -128,7 +128,7 @@ static const struct spinand_info macronix_spinand_table[] = {
 		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
 					      &write_cache_variants,
 					      &update_cache_variants),
-		     SPINAND_HAS_QE_BIT,
+		     SPINAND_HAS_QE_BIT | SPINAND_HAS_CONT_READ_BIT,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
 				     mx35lf1ge4ab_ecc_get_status)),
 	SPINAND_INFO("MX35UF2GE4AD", 0xa6,
@@ -137,7 +137,7 @@ static const struct spinand_info macronix_spinand_table[] = {
 		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
 					      &write_cache_variants,
 					      &update_cache_variants),
-		     SPINAND_HAS_QE_BIT,
+		     SPINAND_HAS_QE_BIT | SPINAND_HAS_CONT_READ_BIT,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
 				     mx35lf1ge4ab_ecc_get_status)),
 	SPINAND_INFO("MX35UF2GE4AC", 0xa2,
@@ -146,7 +146,7 @@ static const struct spinand_info macronix_spinand_table[] = {
 		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
 					      &write_cache_variants,
 					      &update_cache_variants),
-		     SPINAND_HAS_QE_BIT,
+		     SPINAND_HAS_QE_BIT | SPINAND_HAS_CONT_READ_BIT,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
 				     mx35lf1ge4ab_ecc_get_status)),
 	SPINAND_INFO("MX35UF1GE4AD", 0x96,
@@ -155,7 +155,7 @@ static const struct spinand_info macronix_spinand_table[] = {
 		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
 					      &write_cache_variants,
 					      &update_cache_variants),
-		     SPINAND_HAS_QE_BIT,
+		     SPINAND_HAS_QE_BIT | SPINAND_HAS_CONT_READ_BIT,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
 				     mx35lf1ge4ab_ecc_get_status)),
 	SPINAND_INFO("MX35UF1GE4AC", 0x92,
@@ -164,7 +164,7 @@ static const struct spinand_info macronix_spinand_table[] = {
 		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
 					      &write_cache_variants,
 					      &update_cache_variants),
-		     SPINAND_HAS_QE_BIT,
+		     SPINAND_HAS_QE_BIT | SPINAND_HAS_CONT_READ_BIT,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
 				     mx35lf1ge4ab_ecc_get_status)),

--
2.17.1


      parent reply	other threads:[~2022-11-02 11:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-02  6:14 [PATCH v2 0/5] Add continuous read mode support Leo Yu
2022-11-02  6:14 ` [PATCH v2 1/5] mtd: spinand: Add continuous read mode configuration Leo Yu
2022-11-02  6:14 ` [PATCH v2 2/5] mtd: spinand: Add continuous read mode initialization Leo Yu
2022-11-02  6:14 ` [PATCH v2 3/5] cmd: mtd: Add total length of read operation Leo Yu
2022-11-07 14:51   ` Miquel Raynal
2022-11-08  9:49     ` Liang-Yan Yu
2022-11-02  6:14 ` [PATCH v2 4/5] mtd: spinand: Add continuous " Leo Yu
2022-11-02  6:14 ` Leo Yu [this message]

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=20221102061432.7113-6-liangyanyu13@gmail.com \
    --to=liangyanyu13@gmail.com \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=jaimeliao.tw@gmail.com \
    --cc=michael@amarulasolutions.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.