]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - doc/README.nand
Merge git://git.denx.de/u-boot-arc
[people/ms/u-boot.git] / doc / README.nand
index edb45eb567983b22aa21f2ab5f19f80041d673db..2295bb2d962a18e6c57ef415058cfb331ba1db59 100644 (file)
@@ -137,7 +137,7 @@ Configuration Options:
       init:
 
        /* chip is struct nand_chip, and is now provided by the driver. */
-       mtd = &chip.mtd;
+       mtd = nand_to_mtd(&chip);
 
        /*
         * Fill in appropriate values if this driver uses these fields,
@@ -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