[U-Boot] [PATCH 1/2] NAND: add NAND_CMD_PARAM (0xec) definition

Florian Fainelli florian at openwrt.org
Fri Dec 10 23:16:41 CET 2010


From: Florian Fainelli <florian at openwrt.org>

This command is used to read the device ONFI parameters page.

Signed-off-by: Florian Fainelli <florian at openwrt.org>
---
 include/linux/mtd/nand.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 94ad0c0..7db87e1 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -84,6 +84,7 @@ extern void nand_wait_ready(struct mtd_info *mtd);
 #define NAND_CMD_SEQIN		0x80
 #define NAND_CMD_RNDIN		0x85
 #define NAND_CMD_READID		0x90
+#define NAND_CMD_PARAM		0xec
 #define NAND_CMD_ERASE2		0xd0
 #define NAND_CMD_RESET		0xff
 
-- 
1.7.2.3



More information about the U-Boot mailing list