MTD NAND Driver Programming Interface | ||
---|---|---|
<<< Previous | Documentation hints | Next >>> |
The struct members are marked with [XXX] identifiers in the comment. The identifiers explain the usage and scope of the members. Following identifiers are used:
[INTERN]
These members are for NAND driver internal use only and must not be modified. Most of these values are calculated from the chip geometry information which is evaluated during nand_scan().
[REPLACEABLE]
Replaceable members hold hardware related functions which can be provided by the board driver. The board driver can set the functions which should be replaced by board dependend functions before calling nand_scan(). If the function pointer is NULL on entry to nand_scan() then the pointer is set to the default function which is suitable for the detected chip type.
[BOARDSPECIFIC]
Board specific members hold hardware related information which must be provided by the board driver. The board driver must set the function pointers and datafields before calling nand_scan().
[OPTIONAL]
Optional members can hold information relevant for the board driver. The generic NAND driver code does not use this information.
<<< Previous | Home | Next >>> |
Documentation hints | Up | Basic board driver |