diff options
author | Takahiro Kuwano <Takahiro.Kuwano@infineon.com> | 2023-12-22 14:46:03 +0900 |
---|---|---|
committer | Jagan Teki <jagan@edgeble.ai> | 2024-01-29 19:34:17 +0530 |
commit | 33934e11d4de5296bffe7e2ae10b287af43400da (patch) | |
tree | e9dfba6df2ff8c2fcae2dc2a5141c4aa9e78b733 /lib/linux_string.c | |
parent | c4de92d949b62440706c9f9e7f33076907a5a946 (diff) |
mtd: spi-nor-core: Consolidate setup() hook for Infineon(Cypress) S25 and S28
s28hx_t_setup() only checks sector layout setting. To support multi-die
package parts like S28HS02GT, it needs to check device size and assign
ready() hook for multi-die package parts. These are covered in s25_setup()
so we can consolidate s28hx_t_setup() and s25_setup() into one named
s25_s28_setup().
spi_nor_wait_till_ready() at the beginning of s28hx_t_setup() can be
removed since there is no op that makes device busy state before setup.
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