Re: [PATCH v4 03/16] mtd: rawnand: sunxi: Replace hard coded value by a define

Jernej Škrabec
2025-10-28T15:35:10Z

Dne torek, 28. oktober 2025 ob 08:34:56 Srednjeevropski standardni čas je Richard Genoud napisal(a):
> 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>

Best regards,
Jernej