diff options
| author | Takahiro Kuwano <[email protected]> | 2023-12-22 14:46:04 +0900 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2024-01-29 19:34:17 +0530 |
| commit | d386fa8b0dd919d2352a2a9422684516227af3b8 (patch) | |
| tree | b2011f6d7f56389302ace839ed20700049bc9dad /include/linux/mtd | |
| parent | 33934e11d4de5296bffe7e2ae10b287af43400da (diff) | |
mtd: spi-nor-core: Consolidate post_bfpt_fixup() for Infineon(Cypress) S25 and S28
s28hx_t_post_bfpt_fixup() fixes erase opcode, erase size, and page size.
s25_post_bfpt_fixup() is doing same thing including multi-die support.
We can consolidate s28hx_t_post_bfpt_fixup() and s25_post_bfpt_fixup()
into one named s25_s28_post_bfpt_fixup().
In s25_s28_post_bfpt_fixup(), set_4byte() is called to force the device to
be 4-byte addressing mode. In S28HS02GT datasheet, the B7 opcode is missing
but it works actually (confirmed).
Signed-off-by: Takahiro Kuwano <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions
