nand_reset — Reset and initialize a NAND device
int nand_reset (
)
struct nand_chip * chip
The NAND chip
int chipnr
Internal die id
Returns 0 for success or negative error code otherwise