summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Genoud <[email protected]>2026-03-27 15:05:04 +0100
committerAndre Przywara <[email protected]>2026-05-01 00:35:59 +0200
commit125bba0f61e3643de67d03c95e5cdcf5fded1f5b (patch)
treea68e41b0c10386da5ac7e995c93cae101e0b820a /include
parent11b5cd22bae8372447a8089df7a2400ac21ed021 (diff)
mtd: rawnand: sunxi: Replace hard coded value by a define
The user data length (4) used all over the code hard coded. And sometimes, it's not that trivial to know that it's the user data length and not something else. Moreover, for the H6/H616 this value is no more fixed by hardware, but could be modified. Using a define here makes the code more readable. Suggested-by: Miquel Raynal <[email protected]> Reviewed-by: Michael Trimarchi <[email protected]> Signed-off-by: Richard Genoud <[email protected]> Acked-by: Andre Przywara <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions