diff options
author | Michael Walle <mwalle@kernel.org> | 2023-09-08 12:16:26 +0200 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@linaro.org> | 2023-09-19 18:49:54 +0300 |
commit | e255a79162b6fbf3c62f2883ef9ecd66feb10fb6 (patch) | |
tree | 88fd7e69d9f7e7f939652f68f3c5f775bbac792b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9983e6da917d7a8e367be05be167b1eeb6c8f120 (diff) |
mtd: spi-nor: default .n_banks to 1
If .n_banks is not set in the flash_info database, the default value
should be 1. This way, we don't have to always set the .n_banks
parameter in flash_info.
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-8-e60548861b10@kernel.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions