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

login
register
mail settings
Submitter Florian Fainelli
Date Dec. 10, 2010, 10:16 p.m.
Message ID <1292019402-25433-1-git-send-email-florian@openwrt.org>
Download mbox | patch
Permalink /patch/75142/
State Accepted
Commit 1ce7084a1556d376bdbdfb93ab86a852f71c1dbe
Delegated to: Scott Wood
Headers show

Comments

Florian Fainelli - Dec. 10, 2010, 10:16 p.m.
From: Florian Fainelli <florian@openwrt.org>

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

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 include/linux/mtd/nand.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Scott Wood - Dec. 10, 2010, 11:47 p.m.
On Fri, Dec 10, 2010 at 12:16:41PM -0000, Florian Fainelli wrote:
> From: Florian Fainelli <florian@openwrt.org>
> 
> This command is used to read the device ONFI parameters page.
> 
> Signed-off-by: Florian Fainelli <florian@openwrt.org>
> 
> ---
> include/linux/mtd/nand.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied to u-boot-nand-flash next

-Scott

Patch

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