]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - doc/README.nand
axs10x: Get rid of both I2C and EEPROM who used to use I2C
[people/ms/u-boot.git] / doc / README.nand
index 4ecf9dee6551ef548455b5a6288bb1f62747076c..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
@@ -271,7 +271,7 @@ Platform specific options
 
                However, for 4K pagesize NAND
                NAND_PAGESIZE = 4096
-               NAND_OOBSIZE = 64
+               NAND_OOBSIZE = 224
                ECC_BYTES = 26
                2 + (4096 / 512) * 26 = 210 < NAND_OOBSIZE
                Thus BCH16 can be supported on 4K page NAND.