diff options
author | 2023-09-08 12:16:25 +0200 | |
---|---|---|
committer | 2023-09-19 18:49:46 +0300 | |
commit | 9983e6da917d7a8e367be05be167b1eeb6c8f120 (patch) | |
tree | fa4c79b75d0d0619ff0640119ebf9deaf74803cb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mtd: spi-nor: default page_size to 256 bytes (diff) | |
download | wireguard-linux-9983e6da917d7a8e367be05be167b1eeb6c8f120.tar.xz wireguard-linux-9983e6da917d7a8e367be05be167b1eeb6c8f120.zip |
mtd: spi-nor: store .n_banks in struct spi_nor_flash_parameter
First, fixups might want to replace the n_banks parameter, thus we need
it in the (writable) parameter struct. Secondly, this way we can have a
default in the core and just skip setting the n_banks in the flash_info
database. Most of the flashes doesn't have more than one bank.
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20230807-mtd-flash-info-db-rework-v3-7-e60548861b10@kernel.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions