at91sam9_oob_init() function
Initialize an area for the OOB based on whether a user is requesting the OOB data. This determines the size of the OOB and allocates the space in case the user has not requested the OOB data.
Arguments
nand
NAND device we are creating an OOB for.
oob
Pointer to the user supplied OOB area.
size
Size of the OOB.
Return value
Pointer to an area to store OOB data.
Functions calling at91sam9_oob_init()
Functions called by at91sam9_oob_init()
at91sam9_oob_init()
memset() malloc() all items filtered out
Data read by at91sam9_oob_init()
Data written by at91sam9_oob_init()
at91sam9_oob_init()
Type of at91sam9_oob_init()
at91sam9_oob_init()
uint8_t all items filtered out