diff options
| author | Richard Genoud <richard.genoud@bootlin.com> | 2025-10-28 08:34:56 +0100 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-10-28 17:16:01 +0100 |
| commit | 1be7ac78b72f25e0e2ae2288944da31d08edc2f6 (patch) | |
| tree | a7e2492afc2c5297f07541ecbe0844bc222325f1 /tools/lib/python/kdoc/kdoc_output.py | |
| parent | deaa77ed66bf6ed1f7c06c183bd7a5bc0d931c62 (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 <miquel.raynal@bootlin.com>
Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
