mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init with gd25q256_post_bfpt
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest0 of 1 patch 1 replyIn review
- v11 patch 0 repliesSuperseded
Patches in v2 No applies recorded yet
The patch the cover letter announces is not in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/1] mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init with gd25q256_post_bfpt
GD25Q256 'C' generation 'GD25Q256C' implements the JESD216 standards, JESD216 doesn't define the QER field in BFPT, but the 'GD25Q256C' does define QE bit in status register 1 bit 6, so we need to tweak quad_enable to properly set the function.
'D' and 'E' generations implement the JESD216B standards, so parsing the SFDP to set quad_enable function is enough for them.
As the default_init is deprecated, so the post_bfpt hook will be the right place to do this tweak.
Changes since v1 [1]
- Just tweak the quad_enable function when needed.
Yaliang Wang (1):
mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init with gd25q256_post_bfpt
drivers/mtd/spi-nor/gigadevice.c | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-)