diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-02-05 17:33:25 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-06 17:20:40 +0000 |
commit | b456fd18ca69f3e6f0c846322ffa4def5379dd4a (patch) | |
tree | 322d429618f28a6c36c8d65a346c6b8c0b3a14f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cae417b2a89b40480bf4f259417ba7148bf4c8e2 (diff) |
spi: atmel-quadspi: rework transfer macros
Split the TFRTYP_TRSFR_ bitfields in 2: one bit encoding the
mem/reg transfer type and one bit encoding the direction of
the transfer (read/write).
Remove NOP when setting read transfer type. Remove useless
setting of write transfer type when
op->data.dir == SPI_MEM_DATA_IN && !op->data.nbytes.
QSPI_IFR_TFRTYP_TRSFR_WRITE is specific just to sama5d2 qspi,
rename it to QSPI_IFR_SAMA5D2_WRITE_TRSFR.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions