Scroll to navigation

NAND_SCAN_IDENT(9) Public Functions Provided NAND_SCAN_IDENT(9)

NAME

nand_scan_ident - [NAND Interface] Scan for the NAND device

SYNOPSIS

int nand_scan_ident(struct mtd_info * mtd, int maxchips);

ARGUMENTS

mtd

MTD device structure

maxchips

Number of chips to scan for

DESCRIPTION

This is the first phase of the normal nand_scan function. It reads the flash ID and sets up MTD fields accordingly.

The mtd->owner field must be set to the module of the caller.

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.

COPYRIGHT

April 2023 Kernel Hackers Manual 2.6.