summaryrefslogtreecommitdiff
path: root/include/linux/mtd/nand_legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/nand_legacy.h')
-rw-r--r--include/linux/mtd/nand_legacy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mtd/nand_legacy.h b/include/linux/mtd/nand_legacy.h
index 99eafbb..4334448 100644
--- a/include/linux/mtd/nand_legacy.h
+++ b/include/linux/mtd/nand_legacy.h
@@ -40,6 +40,11 @@
#error This module is for the legacy NAND support
#endif
+/* The maximum number of NAND chips in an array */
+#ifndef CONFIG_SYS_NAND_MAX_CHIPS
+#define CONFIG_SYS_NAND_MAX_CHIPS 1
+#endif
+
/*
* Standard NAND flash commands
*/