[PATCH v5 3/3] mtd: nand: Add macro definition for nvddr interface mode
Punnaiah Choudary Kalluri
punnaiah.choudary.kalluri at xilinx.com
Sat Nov 21 09:40:11 EST 2015
Added macro definition for nvddr data interface mode field in
the sub feature parameter of onfi timing mode configuration.
Signed-off-by: Punnaiah Choudary Kalluri <punnaia at xilinx.com>
---
Changes in v5:
- None
Changes in v4:
- New change
---
include/linux/mtd/nand.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 5a9d1d4..1a8614f 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -215,6 +215,9 @@ struct nand_chip;
#define ONFI_TIMING_MODE_5 (1 << 5)
#define ONFI_TIMING_MODE_UNKNOWN (1 << 6)
+/* ONFI data interface mode */
+#define ONFI_DATA_INTERFACE_NVDDR (1 << 4)
+
/* ONFI feature address */
#define ONFI_FEATURE_ADDR_TIMING_MODE 0x1
--
2.1.2
More information about the linux-mtd
mailing list