Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init wit…
…h gd25q256_post_bfpt When utilizing PARSE_SFDP to initialize the flash parameter, the deprecated initializing method spi_nor_init_params_deprecated() and the function spi_nor_manufacturer_init_params() within it will never be executed, which results in the default_init hook function will also never be executed. As we do have quad enable function defined in BFPT, the post_bfpt hook will be the right place to tweak the function. Cc: stable@vger.kernel.org Fixes: 047275f ("mtd: spi-nor: gigadevice: gd25q256: Init flash based on SFDP") Signed-off-by: Yaliang Wang <Yaliang.Wang@windriver.com>
- Loading branch information