diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2019-08-06 10:40:41 +0530 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-08-12 11:02:54 +0300 |
commit | c76f5089796a948e8daaeda348040a3f98b18748 (patch) | |
tree | 02836de86b0732548952b8dc7dabec721deb44c8 /tools/perf/scripts/python/netdev-times.py | |
parent | b35b9a10362d203451d920d01ab8d6cd55cbaf2a (diff) |
mtd: spi-nor: Rework hwcaps selection for the spi-mem case
The spi-mem layer provides a spi_mem_supports_op() function to check
whether a specific operation is supported by the controller or not.
This is much more accurate than the hwcaps selection logic based on
SPI_{RX,TX}_ flags.
Rework the hwcaps selection logic to use spi_mem_supports_op() when
nor->spimem != NULL.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions