diff options
author | Miquel Raynal <[email protected]> | 2022-12-15 09:12:33 +0100 |
---|---|---|
committer | Tudor Ambarus <[email protected]> | 2023-01-26 19:52:47 +0200 |
commit | 59273180299ad264d086135e8199c1b05ea51b69 (patch) | |
tree | 2be7c3437564c79e1c481b869a5ea9cab0f44912 /tools/perf/scripts/python/stackcollapse.py | |
parent | ca5a16db010018095da35c074397289a5bbcb543 (diff) |
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 <[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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions