projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
344955f
)
mtd: nand: add NAND_CMD_PARAM (0xec) definition
author
Florian Fainelli
<florian@openwrt.org>
Mon, 30 Aug 2010 16:32:14 +0000
(18:32 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:45:00 +0000
(23:45 +0100)
This command is used to read the device ONFI parameters page.
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/nand.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/mtd/nand.h
b/include/linux/mtd/nand.h
index a8921c213df5414fc94a89b1db99a698b67988cf..29656a3f93316a00ecf6f49c83338d98d306fde6 100644
(file)
--- a/
include/linux/mtd/nand.h
+++ b/
include/linux/mtd/nand.h
@@
-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