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.ya...@ti.com> -- Regards, Pratyush Yadav Texas Instruments Inc.