commit | 3d3fe3c05d5a17ebdf55b936c51017c127c0ed44 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Wed Jul 25 15:31:52 2018 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Wed Aug 01 09:45:59 2018 +0200 |
tree | 82015f37c2af2e3563a6118d378e28a31b73c991 | |
parent | 2023f1fa216f30b1877d65be2057fbaf0bbd49b3 [diff] |
mtd: rawnand: allocate dynamically ONFI parameters during detection Now that it is possible to do dynamic allocations during the identification phase, convert the onfi_params structure (which is only needed with ONFI compliant chips) into a pointer that will be allocated only if needed. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>