diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-12-15 11:12:33 +0300 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@linaro.org> | 2023-01-26 20:52:47 +0300 |
commit | 59273180299ad264d086135e8199c1b05ea51b69 (patch) | |
tree | 2be7c3437564c79e1c481b869a5ea9cab0f44912 /tools/perf/scripts/python/task-analyzer.py | |
parent | ca5a16db010018095da35c074397289a5bbcb543 (diff) | |
download | linux-59273180299ad264d086135e8199c1b05ea51b69.tar.xz |
mtd: spi-nor: Create macros to define chip IDs and geometries
The INFO() macro defines an ID array and a couple of geometry
properties. Right now all its lines are duplicated twice because of the
INFO6() macro (for extended IDs) and soon as well we will need to add a
geometry parameter to include the number of banks.
In order to limit the code duplication, let's create a number of
intermediate macros which will facilitate defining high-level INFOX()
macros.
There is no functional change.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20221215081241.407098-2-miquel.raynal@bootlin.com
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions