diff options
| author | Tudor Ambarus <[email protected]> | 2024-12-19 09:20:04 +0000 |
|---|---|---|
| committer | Pratyush Yadav <[email protected]> | 2025-01-13 15:46:57 +0000 |
| commit | ef262847122b7589d0a1056ab79c688645e2da21 (patch) | |
| tree | 20c32ee5d934c1852c9ab806449db6448c1a2a3c /scripts/generate_rust_target.rs | |
| parent | mtd: spi-nor: macronix: remove mx25u25635f from parts list to enable SFDP (diff) | |
| download | kernel-ef262847122b7589d0a1056ab79c688645e2da21.tar.gz kernel-ef262847122b7589d0a1056ab79c688645e2da21.zip | |
mtd: spi-nor: extend description of size member of struct flash_info
We use the size as an indicator whether to parse SFDP or not. We don't
introduce a dedicated member for SFDP parsing because we'd like to keep
the struct size at a minimum, as it's used for every flash declaration.
Ideally we won't have flash entries at all, but there are still flash
parameters that aren't defined by SFDP, thus we need to statically
specify them.
Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Reviewed-by: Michael Walle <[email protected]>
Signed-off-by: Pratyush Yadav <[email protected]>
Link: https://lore.kernel.org/r/20241219-spi-nor-flash-info-size-desc-v1-1-6b53cf011027@linaro.org
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
