Re: [PATCH v5 05/19] mtd: spi-nor: add support for DTR protocol

From: Pratyush Yadav
Date: Thu May 21 2020 - 08:52:55 EST


Hi,

On 21/05/20 05:24PM, masonccyang@xxxxxxxxxxx wrote:
>
> Hi Pratyush,
>
>
> > @@ -311,6 +313,7 @@ struct flash_info {
> > * BP3 is bit 6 of status register.
> > * Must be used with SPI_NOR_4BIT_BP.
> > */
> > +#define SPI_NOR_OCTAL_DTR_READ BIT(19) /* Flash supports octal DTR
> Read. */
>
> #define SPI_NOR_OCTAL_DTR_RDWR BIT(19) /* Support Octal DTR Read & Write
> */

This flag only enables SNOR_HWCAPS_READ_8_8_8_DTR. It does not affect
SNOR_HWCAPS_PP_8_8_8_DTR. So it shouldn't be called RDWR.

> more precisely and clearly ?
>
> thanks,
> Mason
>

--
Regards,
Pratyush Yadav
Texas Instruments India