Skip to contentSkip to conversation

NAND: add NAND_CMD_PARAM (0xec) definition

PATCH Superseded Florian Fainelli 1 participant 1 message Aug 12, 2010

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 NAND: add NAND_CMD_PARAM (0xec) definition

This command is used to read the device ONFI paramaters page. We will use it in subsequent patches.

---

include/linux/mtd/nand.h +1 -0
index 102e12c..8b288b6 100644
@@ -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