summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/core.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2023-03-28 18:40:59 +0300
committerTudor Ambarus <tudor.ambarus@linaro.org>2023-03-29 13:46:07 +0300
commitccff2cfa1ac347ee91f1b21ee99ca7ecc1d201fc (patch)
tree59de995f12cb1e50b70adf7b2d4d970c5a5bd4d2 /drivers/mtd/spi-nor/core.c
parent9d6c5d64f0288a814d4435b7da39e360a4c39e40 (diff)
downloadlinux-ccff2cfa1ac347ee91f1b21ee99ca7ecc1d201fc.tar.xz
mtd: spi-nor: Add a macro to define more banks
Most of the chips on the market only feature a single bank. However, new chips may support more than a single bank, with the possibility to parallelize some operations. Let's introduce an INFOB() macro which also takes a n_bank parameter. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Pratyush Yadav <pratyush@kernel.org> Link: https://lore.kernel.org/r/20230328154105.448540-3-miquel.raynal@bootlin.com Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to 'drivers/mtd/spi-nor/core.c')
0 files changed, 0 insertions, 0 deletions