diff options
author | Miquel Raynal <[email protected]> | 2023-03-28 17:40:58 +0200 |
---|---|---|
committer | Tudor Ambarus <[email protected]> | 2023-03-29 13:46:07 +0300 |
commit | 9d6c5d64f0288a814d4435b7da39e360a4c39e40 (patch) | |
tree | 207d9102c227dae51057508347ec47ad9389932d /scripts/gcc-plugins/structleak_plugin.c | |
parent | 6afcc84080c415df81765c6d773edcba8fc30f6c (diff) |
mtd: spi-nor: Introduce the concept of bank
SPI NOR chips are made of pages, which gathered in small groups make
(erase) sectors. Sectors, gathered together, make banks inside the
chip. Until now, there was only one bank per device supported, but we
are about to introduce support for new chips featuring several banks (up
to 4 so far) where different operations may happen in parallel.
Let's allow describing these additional bank parameters, and let's do
this independently of any other value (like the number of sectors) with
an absolute value.
By default we consider that all chips have a single bank.
Signed-off-by: Miquel Raynal <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tudor Ambarus <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions