commit | 5e98ab13ab70b3d6f11a8bc82e250c490645f57e | [log] [tgz] |
---|---|---|
author | Takahiro Kuwano <Takahiro.Kuwano@infineon.com> | Fri Dec 22 14:45:59 2023 +0900 |
committer | Jagan Teki <jagan@edgeble.ai> | Mon Jan 29 19:34:17 2024 +0530 |
tree | 40d8ba5421818fa6286995126e56493df3b06de0 | |
parent | 03fee191b6ea5e83ac45615f83b378df6cb50ea5 [diff] |
mtd: spi-nor-core: Consolidate non-uniform erase helpers for S25 and S28 s25_erase_non_uniform() and s28hx_t_erase_uniform() support hybrid sector layout (32 x 4KB sectors overlaid at bottom address) and doing same thing. Consolidate them into single helper named s25_s28_erase_non_uniform(). Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>