nand_init_data_interface(9)

nand_init_data_interface9

Find the best data interface and timings

Usage

int nand_init_data_interface(struct nand_chip * chip);

Arguments

chip

The NAND chip

Overview

Find 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. After this function nand_chip->data_interface is initialized with the best timing mode available.

Returns 0 for success or negative error code otherwise.

Author

Thomas Gleixner <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.