nand_check_wp

Name

nand_check_wp --  [GENERIC] check if the chip is write protected

Synopsis

int nand_check_wp (struct mtd_info * mtd);

Arguments

mtd

MTD device structure Check, if the device is write protected

Description

The function expects, that the device is already selected