]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: jedec: Define the number of parameter pages
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Apr 2020 09:43:01 +0000 (11:43 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:40 +0000 (09:51 +0200)
commitcba36291f9aa8843590dd2c8fd14945047ea540e
treea1f452dfea4ae18f25f1442d1ee919579f525b42
parent315a249724954e4f6657c1f82fb3ff2483d897a8
mtd: rawnand: jedec: Define the number of parameter pages

Use a macro to define the number of parameter page instead of
hardcoding it everywhere.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200428094302.14624-9-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_jedec.c