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)
commit2e8f56f2a9417692b758fee9ee5a01d857dd980f
treea1f452dfea4ae18f25f1442d1ee919579f525b42
parent6e9c65d87c6d92ed988ecdab3ae6ed4d7d94f67c
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