Skip to content

Commit

Permalink
mtd: nand: add NAND_CMD_PARAM (0xec) definition
Browse files Browse the repository at this point in the history
This command is used to read the device ONFI parameters page.

Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
ffainelli authored and David Woodhouse committed Oct 24, 2010
1 parent 344955f commit caa4b6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/mtd/nand.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
#define NAND_CMD_RNDIN 0x85
#define NAND_CMD_READID 0x90
#define NAND_CMD_ERASE2 0xd0
#define NAND_CMD_PARAM 0xec
#define NAND_CMD_RESET 0xff

#define NAND_CMD_LOCK 0x2a
Expand Down

0 comments on commit caa4b6f

Please sign in to comment.