diff options
author | Tudor Ambarus <[email protected]> | 2021-12-07 16:02:48 +0200 |
---|---|---|
committer | Tudor Ambarus <[email protected]> | 2021-12-07 17:05:11 +0200 |
commit | a1ede1cce4935f8aa2c44560d8404890350cd0ca (patch) | |
tree | 64a16e6b1bdf5fcd40cbc7648d40cc55e8d1c5c5 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 5429300db98c7983f4d260fce40d663f5cf0732e (diff) |
mtd: spi-nor: Introduce spi_nor_init_fixup_flags()
Group NOR flags initialization. Introduce a dedicated function for
setting the fixup_flags and emphasise when those flash_info flags
should be set: when the SNOR_F_4B_OPCODES/SNOR_F_IO_MODE_EN_VOLATILE
setttings can not be discovered by SFDP for this particular flash
because the SFDP table that indicates this support is not defined
in the flash.
In case the table for his support is defined but has wrong values,
one should instead use a post_sfdp() hook to set the SNOR_F equivalent
flag.
No functional change intended in this patch.
Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions