[PATCH v2 3/3] mtd: rawnand: sunxi: Precompute the ECC_CTL register value

Miquel Raynal miquel.raynal at bootlin.com
Mon Feb 6 03:55:14 PST 2023


On Sat, 2023-02-04 at 14:35:20 UTC, Samuel Holland wrote:
> The value computed by this function never changes for a given chip.
> Compute the whole register value once up front, instead of every time
> the ECC engine is enabled.
> 
> Signed-off-by: Samuel Holland <samuel at sholland.org>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-mtd mailing list