• M
    mtd: rawnand: prepare the removal of the ONFI parameter page · a97421c7
    Miquel Raynal 提交于
    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: NMiquel Raynal <miquel.raynal@bootlin.com>
    Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
    a97421c7
rawnand.h 53.0 KB