From mboxrd@z Thu Jan 1 00:00:00 1970 From: tkuw584924 at gmail.com Date: Wed, 4 Nov 2020 17:10:20 +0900 Subject: [PATCH v3 4/7] mtd: spi-nor-core: Add Cypress manufacturer ID in set_4byte In-Reply-To: References: Message-ID: <7aee6d95b4367f94e72e7b458081578358fc86fd.1604471789.git.Takahiro.Kuwano@infineon.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Takahiro Kuwano Cypress chips support SPINOR_OP_EN4B(B7h)/SPINOR_OP_EX4B(E9h) to enable/disable 4-byte addressing mode. Signed-off-by: Takahiro Kuwano --- 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