summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/gpmi-nand/gpmi-lib.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-03-19 16:47:26 +0300
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-03-20 12:46:35 +0300
commitf4531b2b1929806d2bec1a2f19805031d8bc0806 (patch)
treeb566dde24cc7975cdd519efd35a69178bc6b2a4d /drivers/mtd/nand/raw/gpmi-nand/gpmi-lib.c
parent107b7d6a7ad4927e1b217cf5667ac94bab021e42 (diff)
downloadlinux-f4531b2b1929806d2bec1a2f19805031d8bc0806.tar.xz
mtd: rawnand: prepare the removal of ONFI/JEDEC parameter pages
The NAND chip parameter page is statically allocated within the nand_chip structure, which reserves a lot of space. Even not ONFI nor JEDEC chips have it embedded. Also, only a few parameters are actually read from the parameter page after the detection. To prepare to the removal of such huge structure, a small NAND parameter structure is allocated statically and contains only very few members that are generic to all chips and actually used elsewhere in the code. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/gpmi-nand/gpmi-lib.c')
0 files changed, 0 insertions, 0 deletions