diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-03-19 14:47:27 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-03-20 11:59:54 +0100 |
commit | a97421c7532d382ab560ca153bdf9450f97c7e41 (patch) | |
tree | 89567f86b754de576c35bb6dd9574d62eb47bcce /LICENSES/preferred | |
parent | mtd: rawnand: prepare the removal of ONFI/JEDEC parameter pages (diff) | |
download | linux-a97421c7532d382ab560ca153bdf9450f97c7e41.tar.xz linux-a97421c7532d382ab560ca153bdf9450f97c7e41.zip |
mtd: rawnand: prepare the removal of the ONFI parameter page
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.
ONFI-related parameters that will be used outside from the
identification function are stored in a separate onfi_parameters
structure embedded in nand_parameters, this small structure that
already hold generic parameters.
For now, the onfi_parameters structure is allocated statically. However,
after some deep rework in the NAND framework, it will be possible to do
dynamic allocations from the NAND identification phase, and this
strcuture will then be dynamically allocated when needed.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'LICENSES/preferred')
0 files changed, 0 insertions, 0 deletions