mtd: spi-nor: Add support for Spansion S25FL256L
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Thu, 30 Sep 2021 02:23:37 +0000 (11:23 +0900)
committerJagan Teki <jagan@amarulasolutions.com>
Sat, 23 Oct 2021 10:08:27 +0000 (15:38 +0530)
commite66c6f10272cba050068017081b0996a9fa8b786
treecd8aedb2c89f32598374f616738b98d5687853bd
parente4f97f12620e84aef23b836041b298405f18f70d
mtd: spi-nor: Add support for Spansion S25FL256L

The S25FL256L is a part of the S25FL-L family and has the same feature set
as S25FL128L except the density.

The datasheet can be found in the following link.
https://www.cypress.com/file/316171/download

The S25FL256L is 32MB NOR Flash that does not support Bank Address
Register. This fixup is activated if CONFIG_SPI_FLASH_BAR is enabled and
returns ENOTSUPP in setup() hook to avoid further ops.

Tested on Xilinx Zynq-7000 FPGA board.

Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
drivers/mtd/spi/spi-nor-core.c
drivers/mtd/spi/spi-nor-ids.c