summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-09-08 08:41:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-09-08 08:41:18 +0200
commite251caecd708edc6fe9fd6b8daf1914b00d15fe0 (patch)
treef5561bfe232445df3ca5096f490dba55e2c24bb2 /include
parent36db84bb10758e2f160c197d267aad3f03e57045 (diff)
parent6e72ee196f8859a99f40de6993f577adacb1e9fb (diff)
downloadbarebox-e251caecd708edc6fe9fd6b8daf1914b00d15fe0.tar.gz
barebox-e251caecd708edc6fe9fd6b8daf1914b00d15fe0.tar.xz
Merge branch 'for-next/mtd'
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/nand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 27538c3f42..88a8fe9756 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -222,6 +222,9 @@ struct nand_chip;
/* ONFI subfeature parameters length */
#define ONFI_SUBFEATURE_PARAM_LEN 4
+/* ONFI optional commands SET/GET FEATURES supported? */
+#define ONFI_OPT_CMD_SET_GET_FEATURES (1 << 2)
+
struct nand_onfi_params {
/* rev info and features block */
/* 'O' 'N' 'F' 'I' */