summaryrefslogtreecommitdiff
path: root/security/loadpin
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2021-12-16 14:16:39 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-01-23 14:36:23 +0300
commitcda32a618debd3fad8e42757b198719ae180f8f4 (patch)
tree21085cdeb44b67c993be0c965cb6817f417fab62 /security/loadpin
parent96489c1c0b53131b0e1ec33e2060538379ad6152 (diff)
downloadlinux-cda32a618debd3fad8e42757b198719ae180f8f4.tar.xz
mtd: nand: Add a new helper to retrieve the ECC context
Introduce nand_to_ecc_ctx() which will allow to easily jump to the private pointer of an ECC context given a NAND device. This is very handy, from the prepare or finish ECC hook, to get the internal context out of the NAND device object. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20211216111654.238086-14-miquel.raynal@bootlin.com
Diffstat (limited to 'security/loadpin')
0 files changed, 0 insertions, 0 deletions