diff options
author | Apurva Nandan <a-nandan@ti.com> | 2023-01-23 23:13:12 +0530 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2023-01-25 14:10:19 -0600 |
commit | 0ee34f16d01b555742d9943e3dcdc72a9662d2cd (patch) | |
tree | cdcec17013b53d3c17548116cad7f167badb9796 /drivers/mtd | |
parent | 55ca31ac4384cec499c05f888f3f49fd38cb0e8f (diff) |
spi: cadence-quadspi: Use STIG mode for all ops with small payload
OSPI controller supports all types of op variants in STIG mode,
only limitation being that the data payload should be less than
8 bytes when not using memory banks.
STIG mode is more stable for operations that send small data
payload and is more efficient than using DMA for few bytes of
memory accesses. It overcomes the limitation of minimum 4 bytes
read from flash into RAM seen in DAC mode.
Use STIG mode for all read and write operations that require
data input/output of less than 8 bytes from the flash, and thereby
support all four phases, cmd/address/dummy/data, through OSPI STIG.
Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions