summaryrefslogtreecommitdiff
path: root/lib/linux_string.c
diff options
context:
space:
mode:
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>2023-12-22 14:46:04 +0900
committerJagan Teki <jagan@edgeble.ai>2024-01-29 19:34:17 +0530
commitd386fa8b0dd919d2352a2a9422684516227af3b8 (patch)
treeb2011f6d7f56389302ace839ed20700049bc9dad /lib/linux_string.c
parent33934e11d4de5296bffe7e2ae10b287af43400da (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 <Takahiro.Kuwano@infineon.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions