diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2021-12-07 15:02:53 +0100 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2021-12-07 16:05:11 +0100 |
commit | 047275f7de18593de32ec7ff130318f9ef04d183 (patch) | |
tree | 11fcef1b072edd811754380ab48e68b9b1f5e68c /drivers/mtd/spi-nor/issi.c | |
parent | mtd: spi-nor: spansion: s25fl256s0: Skip SFDP parsing (diff) | |
download | linux-047275f7de18593de32ec7ff130318f9ef04d183.tar.xz linux-047275f7de18593de32ec7ff130318f9ef04d183.zip |
mtd: spi-nor: gigadevice: gd25q256: Init flash based on SFDP
Get rid of the static initialization of the flash parameters and
init them when parsing SFDP.
Generated a 256 Kbyte random data and did an erase, write, read back
and compare test. The flash uses for reads SPINOR_OP_READ_1_4_4_4B 0xec,
for erases SPINOR_OP_BE_4K_4B 0x21, and for writes SPINOR_OP_PP_1_1_4_4B
0x34.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20211207140254.87681-14-tudor.ambarus@microchip.com
Diffstat (limited to 'drivers/mtd/spi-nor/issi.c')
0 files changed, 0 insertions, 0 deletions