summaryrefslogtreecommitdiff
path: root/drivers/mtd/ftl.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2020-10-05 21:01:32 +0530
committerVignesh Raghavendra <vigneshr@ti.com>2020-11-09 11:56:16 +0530
commit981a8d60e01f7e76d6bccb621598d087c9dd4a5d (patch)
tree6371f5e6fe95fb95e46da4103e0948f96617263a /drivers/mtd/ftl.c
parentc6908077b194e46e7180d241ff2dbb85dc30bbd1 (diff)
mtd: spi-nor: Parse SFDP SCCR Map
Parse just the 22nd dword and look for the 'DTR Octal Mode Enable Volatile bit'. SPI_NOR_IO_MODE_EN_VOLATILE should be set just for the flashes that don't define the optional SFDP SCCR Map. For the others, let the SFDP do its job and fill the SNOR_F_IO_MODE_EN_VOLATILE flag. We avoid this way polluting the flash flags when declaring one. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Pratyush Yadav <p.yadav@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Link: https://lore.kernel.org/r/20201005153138.6437-10-p.yadav@ti.com
Diffstat (limited to 'drivers/mtd/ftl.c')
0 files changed, 0 insertions, 0 deletions