diff options
| author | Takahiro Kuwano <takahiro.kuwano@infineon.com> | 2026-05-27 18:05:39 +0900 |
|---|---|---|
| committer | Pratyush Yadav <pratyush@kernel.org> | 2026-05-28 15:57:24 +0200 |
| commit | 306e443156b82a2a14a3f33da908c303be45529c (patch) | |
| tree | d9d990c60c12e66e2cafdce72e19a2ec76f24857 /include/linux | |
| parent | 48007986232858f94fc1ba2af4b360008e3e146b (diff) | |
mtd: spi-nor: spansion: use die erase for multi-die devices only
Die erase opcode is supported in multi-die devices only. For single die
devices, default chip erase opcode must be used.
In s25hx_t_late_init(), die erase opcode is set only when the device is
multi-die.
Fixes: 461d0babb544 ("mtd: spi-nor: spansion: enable die erase for multi die flashes")
Cc: stable@kernel.org
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Takahiro Kuwano <takahiro.kuwano@infineon.com>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
