---
name: "nand_scan"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/nand_scan"
---

# nand\_scan(9)

\[NAND Interface\] Scan for the NAND device

## NAME

nand\_scan - \[NAND Interface\] Scan for the NAND device

## SYNOPSIS

**int nand\_scan(struct mtd\_info \*** *mtd***, int** *maxchips***);**

## ARGUMENTS

*mtd*

MTD device structure

*maxchips*

number of chips to scan for

## DESCRIPTION

This fills out all the uninitialized function pointers with the defaults. The flash ID is read and the mtd/chip structures are filled with the appropriate values.

## AUTHOR

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

## COPYRIGHT
