commit | a3a5cc7613ebbbd647ddd0555e0c9a23c340318e | [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 | 7a67bc55b91d3763b32c463e5ccbf95de6040d31 [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>