summaryrefslogtreecommitdiff
path: root/block/t10-pi.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2021-12-07 17:02:51 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2021-12-07 18:05:11 +0300
commit1c513c986b0a4c7151cb4571e568136f16c9dc58 (patch)
tree7c8b49a8031bb38822008621422fa4d46775c3cb /block/t10-pi.c
parentb7ed1a3731a9575198e3d8b70af7637abcc8656d (diff)
downloadlinux-1c513c986b0a4c7151cb4571e568136f16c9dc58.tar.xz
mtd: spi-nor: winbond: w25q256jvm: 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 0xeb, for erases SPINOR_OP_BE_4K 0x20, and for writes SPINOR_OP_PP 0x02. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Link: https://lore.kernel.org/r/20211207140254.87681-12-tudor.ambarus@microchip.com
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions