[PATCH v4 0/9] mtd: spi-nor: Add support for Cypress s25hl-t/s25hs-t
tkuw584924 at gmail.com
tkuw584924 at gmail.com
Thu Jan 28 05:36:53 CET 2021
From: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
The S25HL-T/S25HS-T family is the Cypress Semper Flash with Quad SPI.
The datasheets can be found in the following links.
https://www.cypress.com/file/424146/download (256Mb/512Mb/1Gb, single die)
https://www.cypress.com/file/499246/download (2Gb/4Gb, dual/quad die)
Tested on Xilinx Zynq-7000 FPGA board.
Takahiro Kuwano (9):
mtd: spi-nor: Add Cypress manufacturer ID
mtd: spi-nor-ids: Add Cypress s25hl-t/s25hs-t
mtd: spi-nor-core: Add support for Read/Write Any Register
mtd: spi-nor-core: Add support for volatile QE bit
mtd: spi-nor-core: Add the ->ready() hook
mtd: spi-nor-core: Add overlaid sector erase feature
mtd: spi-nor-core: Add Cypress manufacturer ID in set_4byte
mtd: spi-nor-core: Add fixups for Cypress s25hl-t/s25hs-t
mtd: spi-nor-tiny: Add fixups for Cypress s25hl-t/s25hs-t
drivers/mtd/spi/spi-nor-core.c | 267 +++++++++++++++++++++++++++++++++
drivers/mtd/spi/spi-nor-ids.c | 36 +++++
drivers/mtd/spi/spi-nor-tiny.c | 89 +++++++++++
include/linux/mtd/spi-nor.h | 9 +-
4 files changed, 400 insertions(+), 1 deletion(-)
---
Changes since v4:
- Added Read/Write Any Register support
- Added the ->ready() hook to support multi-die package parts
- Added S25HL02GT/S25HL04GT/S25HS02GT/S25HS04GT support
Changes since v3:
- Split into multiple patches
Changes since v2:
- Fixed typo in comment for spansion_overlaid_erase()
- Fixed expressions for addr and len check in spansion_overlaid_erase()
- Added device ID check to make the changes effective for S25 only
- Added nor->setup() and fixup hooks based on the following patches
https://patchwork.ozlabs.org/project/uboot/patch/20200904153500.3569-7-p.yadav@ti.com/
https://patchwork.ozlabs.org/project/uboot/patch/20200904153500.3569-8-p.yadav@ti.com/
https://patchwork.ozlabs.org/project/uboot/patch/20200904153500.3569-9-p.yadav@ti.com/
--
2.25.1
More information about the U-Boot
mailing list