aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/old-utils/scripts
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2024-08-26 11:46:27 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-10-08 08:14:53 +0200
commit661841fe2fbd3cb43c15eb6f760bfbbb1883c793 (patch)
treeef72f9bdd85d1fce32aa7482e482005402d61b26 /ubi-utils/old-utils/scripts
parenta22a7fe5636a1babcc2fa0a9b3836c3ce5f3d0fd (diff)
mtd-tests: flash_speed: Generalize read_eraseblock_by_2pages()
Right now there are only 2 pages that may be read continuously, but why not trying more? At least when the continuous feature is out, this type of benchmarking will be interesting. In order to facilitate later additions, lets make this helper more generic and accept a global 'npages' variable as parameter (because this function is called in a macro, it is simpler like that). Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubi-utils/old-utils/scripts')
0 files changed, 0 insertions, 0 deletions