[PATCH v2 1/4] mtd: spi-nor-core: Introduce SPI_NOR_SOFT_RESET flash_info flag

Pratyush Yadav p.yadav at ti.com
Tue Nov 9 20:31:25 CET 2021


On 04/11/21 01:49AM, Tudor Ambarus wrote:
> Some flashes can determine if Soft Reset is supported by parsing
> BFPT_DWORD(16). There are however flashes that do not define any of
> the SFDP tables, so they can't discover this capability at SFDP
> parsing time. For such cases introduce the SPI_NOR_SOFT_RESET
> flash_info flag to be able to specify statically this support.
> This flag must be used together with the SPI_NOR_SKIP_SFDP flag.
> For flashes that support Soft Reset and define BFPT, but have
> the BFPT_DWORD(16) missing or with a wrong value, a post_sfdp()
> fixup hook should be used instead, where SNOR_F_SOFT_RESET should
> be set.

Reviewed-by: Pratyush Yadav <p.yadav at ti.com>

-- 
Regards,
Pratyush Yadav
Texas Instruments Inc.


More information about the U-Boot mailing list