summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/README.nand2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.nand b/doc/README.nand
index f1c20ff645..2295bb2d96 100644
--- a/doc/README.nand
+++ b/doc/README.nand
@@ -160,7 +160,7 @@ Configuration Options:
/*
* devnum is the device number to be used in nand commands
- * and in mtd->name. Must be less than CONFIG_SYS_NAND_MAX_DEVICE.
+ * and in mtd->name. Must be less than CONFIG_SYS_MAX_NAND_DEVICE.
*/
if (nand_register(devnum, mtd))
error out