Re: [RFC] spi: dw: support setting tmode dynamically

From: Mark Brown
Date: Wed Dec 23 2015 - 07:15:31 EST


On Wed, Dec 23, 2015 at 07:23:38PM +0800, Jisheng Zhang wrote:

> Currently the spi-dw tmode is fixed to SPI_TMOD_TR if cs_control is NULL, but we
> need to set it as SPI_TMOD_EPROMREAD to read nor flash, my solution is to add and
> export one functions to set the tmode, then the nor flash driver call it
> before reading and set back to SPI_TMOD_TR after done.

What does this mean - what is TMOD and why do we need to set it to read
NOR flash? I've no information on this controller...

Attachment: signature.asc
Description: PGP signature