mtd: rawnand: onfi: Define the number of parameter pages
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Apr 2020 09:42:58 +0000 (11:42 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:40 +0000 (09:51 +0200)
commitdacd1a1297254ad22a3d625d5b6e508392971a86
tree47165f92c27dfcd6a232a85b96b957b795783656
parent543e34f29dc48a921bc9cffbc1240f443871b512
mtd: rawnand: onfi: 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-6-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_onfi.c