Re: [PATCH v2 1/2] mtd: spi-nor: intel-spi: support chips without software sequencer

From: Tudor.Ambarus
Date: Wed Oct 23 2019 - 17:22:10 EST




On 09/04/2019 04:15 AM, Jethro Beekman wrote:
> External E-Mail
>
>
> Some flash controllers don't have a software sequencer. Avoid
> configuring the register addresses for it, and double check
> everywhere that its not accidentally trying to be used.
>
> Every use of `sregs` is now guarded by a check of `sregs` or
> `swseq_reg`. The check might be done in the calling function.
>
> Signed-off-by: Jethro Beekman <jethro@xxxxxxxxxxxx>
> ---
> drivers/mtd/spi-nor/intel-spi.c | 23 ++++++++++++++++-------
> 1 file changed, 16 insertions(+), 7 deletions(-)

Applied to spi-nor/next. Thanks.