OSDN Git Service

mtd: rawnand: add manufacturer fixup for ONFI parameter page
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Sun, 24 Jun 2018 22:44:44 +0000 (10:44 +1200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 2 Jul 2018 07:02:16 +0000 (09:02 +0200)
commit00ce4e039ad5bded462931606c3063ff691964b7
treee6bc5845d919e130e59f9725a8a66936e4277fe6
parented6d0285f81cbf27d8294b47ac0bc8f28041b186
mtd: rawnand: add manufacturer fixup for ONFI parameter page

This is called after the ONFI parameter page checksum is verified
and allows us to override the contents of the parameter page.

Suggested-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h