]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: spi-nor-core: Add support for Cypress Semper flash
authorPratyush Yadav <p.yadav@ti.com>
Fri, 25 Jun 2021 19:17:28 +0000 (00:47 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 Jun 2021 06:36:43 +0000 (12:06 +0530)
commit547069b1a50106274c72ae7070dfa752fda6ba75
tree6c554f748128f6ee223283cc59e363602b97abe1
parent62fee3483dbdd94827fa7ac671c72dacdb4ff78f
mtd: spi-nor-core: Add support for Cypress Semper flash

The Cypress Semper flash is an xSPI compliant octal DTR flash. Add
support for using it in octal DTR mode.

The flash by default boots in a hybrid sector mode. Switch to uniform
sector mode on boot. Use the default 20 dummy cycles for a read fast
command.

The SFDP programming on some older versions of the flash was incorrect.
Fixes for that are included in the fixup hooks.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/Kconfig
drivers/mtd/spi/spi-nor-core.c
drivers/mtd/spi/spi-nor-ids.c
include/linux/mtd/spi-nor.h