]> git.sur5r.net Git - u-boot/blobdiff - doc/README.nand
arm: socfpga: stratix10: Add misc support for Stratix10 SoC
[u-boot] / doc / README.nand
index edb45eb567983b22aa21f2ab5f19f80041d673db..cda11b43ffc59fa3f04614165f67d733121541ae 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0+
 NAND FLASH commands and notes
 
 See NOTE below!!!
@@ -5,7 +6,6 @@ See NOTE below!!!
 # (C) Copyright 2003
 # Dave Ellis, SIXNET, dge@sixnetio.com
 #
-# SPDX-License-Identifier:     GPL-2.0+
 
 Commands:
 
@@ -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
@@ -180,12 +180,6 @@ Configuration Options:
        And fetching device parameters flashed on device, by parsing
        ONFI parameter page.
 
-   CONFIG_BCH
-       Enables software based BCH ECC algorithm present in lib/bch.c
-       This is used by SoC platforms which do not have built-in ELM
-       hardware engine required for BCH ECC correction.
-
-
 Platform specific options
 =========================
    CONFIG_NAND_OMAP_GPMC