NAND_SETUP_DATA_INTE(9)

NAME
nand_setup_data_interface - Setup the best data interface and timings

SYNOPSIS

int nand_setup_data_interface(struct nand_chip * chip);

ARGUMENTS

chip
    The NAND chip

DESCRIPTION

Find and configure the best data interface and NAND timings supported by the chip and the driver. First tries to retrieve supported timing modes from ONFI information, and if the NAND chip does not support ONFI, relies on the ->onfi_timing_mode_default specified in the nand_ids table.

Returns 0 for success or negative error code otherwise.

AUTHOR

Thomas Gleixner <tglx@linutronix.de>
    Author.

COPYRIGHT