aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/ts73xx-fpga.c
diff options
context:
space:
mode:
authorTakahiro Kuwano <[email protected]>2024-02-20 08:34:07 +0000
committerTudor Ambarus <[email protected]>2024-02-26 11:17:43 +0000
commitdf6e36edac23f096fae45d0a8fe2efcf0e77aebe (patch)
treea9f2d4d20ed68b72d68afeb0a797421b58adea7f /drivers/fpga/ts73xx-fpga.c
parentmtd: spi-nor: core: rework struct spi_nor_erase_region (diff)
downloadkernel-df6e36edac23f096fae45d0a8fe2efcf0e77aebe.tar.gz
kernel-df6e36edac23f096fae45d0a8fe2efcf0e77aebe.zip
mtd: spi-nor: core: get rid of SNOR_LAST_REGION flag
Introduce n_regions in spi_nor_erase_map structure and remove SNOR_LAST_REGION flag. Loop logics that depend on the flag are also reworked to use n_regions as loop condition. Signed-off-by: Takahiro Kuwano <[email protected]> Suggested-by: Tudor Ambarus <[email protected]> Suggested-by: Michael Walle <[email protected]> Reviewed-by: Michael Walle <[email protected]> Link: https://lore.kernel.org/r/eded84294bd81e966d6f423e578fc2cfb9a4a5b6.1708404584.git.Takahiro.Kuwano@infineon.com [ta: update spi_nor_init_erase_cmd_list() and break the for loop sooner.] Signed-off-by: Tudor Ambarus <[email protected]>
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions