Name

nand_command — [DEFAULT] Send command to NAND device

Synopsis

void nand_command (struct mtd_info * mtd,
 unsigned int command,
 int column,
 int page_addr);
 

Arguments

struct mtd_info * mtd

MTD device structure

unsigned int command

the command to be sent

int column

the column address for this command, -1 if none

int page_addr

the page address for this command, -1 if none

Description

Send command to NAND device. This function is used for small page devices (512 Bytes per page).