]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: spinand: Add a ->configure_chip() hook
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jun 2025 12:14:22 +0000 (14:14 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Jul 2025 09:32:16 +0000 (11:32 +0200)
commitda55809ebb45d1d80b7a388ffef841ed683e1a6f
treedc2e0e67d806f2367226b7f6d4aaf6eb085a4a1b
parentd81ad9d78e2cd5bdefd390a83553203668a96092
mtd: spinand: Add a ->configure_chip() hook

There is already a manufacturer hook, which is manufacturer specific but
not chip specific. We no longer have access to the actual NAND identity
at this stage so let's add a per-chip configuration hook to align the
chip configuration (if any) with the core's setting.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/core.c
include/linux/mtd/spinand.h