projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c8624
)
NAND: add NAND_CMD_PARAM (0xec) definition
author
Florian Fainelli
<florian@openwrt.org>
Fri, 10 Dec 2010 12:16:41 +0000
(12:16 +0000)
committer
Scott Wood
<scottwood@freescale.com>
Fri, 17 Dec 2010 20:32:12 +0000
(14:32 -0600)
This command is used to read the device ONFI parameters page.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
include/linux/mtd/nand.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/nand.h
b/include/linux/mtd/nand.h
index 519f47e4d370d46730a97df7180d9f1eaf0d9cd0..1128f5ae10ba73f5460fa21ecaffd71adf42b324 100644
(file)
--- 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