All of lore.kernel.org
 help / color / mirror / Atom feed
From: tkuw584924 at gmail.com <tkuw584924@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 4/7] mtd: spi-nor-core: Add Cypress manufacturer ID in set_4byte
Date: Wed,  4 Nov 2020 17:10:20 +0900	[thread overview]
Message-ID: <7aee6d95b4367f94e72e7b458081578358fc86fd.1604471789.git.Takahiro.Kuwano@infineon.com> (raw)
In-Reply-To: <cover.1604471788.git.Takahiro.Kuwano@infineon.com>

From: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>

Cypress chips support SPINOR_OP_EN4B(B7h)/SPINOR_OP_EX4B(E9h) to
enable/disable 4-byte addressing mode.

Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
---
 drivers/mtd/spi/spi-nor-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 9a271841ab..6553a7f211 100644
--- a/drivers/mtd/spi/spi-nor-core.c
+++ b/drivers/mtd/spi/spi-nor-core.c
@@ -467,6 +467,7 @@ static int set_4byte(struct spi_nor *nor, const struct flash_info *info,
 	case SNOR_MFR_ISSI:
 	case SNOR_MFR_MACRONIX:
 	case SNOR_MFR_WINBOND:
+	case SNOR_MFR_CYPRESS:
 		if (need_wren)
 			write_enable(nor);
 
-- 
2.25.1

  parent reply	other threads:[~2020-11-04  8:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04  8:10 [PATCH v3 0/7] mtd: spi-nor: Add support for Cypress s25hl-t/s25hs-t tkuw584924 at gmail.com
2020-11-04  8:10 ` [PATCH v3 1/7] mtd: spi-nor: Add Cypress manufacturer ID tkuw584924 at gmail.com
2020-11-04  8:10 ` [PATCH v3 2/7] mtd: spi-nor-ids: Add Cypress s25hl-t/s25hs-t tkuw584924 at gmail.com
2020-11-04  8:10 ` [PATCH v3 3/7] mtd: spi-nor: Add support for volatile QE bit tkuw584924 at gmail.com
2020-11-04  8:10 ` tkuw584924 at gmail.com [this message]
2020-11-04  8:10 ` [PATCH v3 5/7] mtd: spi-nor-core: Add overlaid sector erase feature tkuw584924 at gmail.com
2020-11-04  8:10 ` [PATCH v3 6/7] mtd: spi-nor-core: Add fixups for Cypress s25hl-t/s25hs-t tkuw584924 at gmail.com
2020-11-04  8:10 ` [PATCH v3 7/7] mtd: spi-nor-tiny: " tkuw584924 at gmail.com
2021-01-21  2:35 ` [PATCH v3 0/7] mtd: spi-nor: Add support " Kuwano Takahiro

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=7aee6d95b4367f94e72e7b458081578358fc86fd.1604471789.git.Takahiro.Kuwano@infineon.com \
    --to=tkuw584924@gmail.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.