]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: nand: Expose optional suboptions in Kconfig
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 27 Feb 2017 17:22:07 +0000 (18:22 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Apr 2017 05:53:45 +0000 (11:23 +0530)
Sometime we need to enable advanced suboptions of the nand command set.
Expose these suboptions in Kconfig.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
cmd/Kconfig

index 7c1f81a4a4e8e595229e805856a34df9a5e95a9f..661bee20c5508417fb19ec0061cd8ec456fc1048 100644 (file)
@@ -455,6 +455,24 @@ config CMD_NAND
        help
          NAND support.
 
+if CMD_NAND
+config CMD_NAND_TRIMFFS
+       bool "nand write.trimffs"
+       help
+         Allows one to skip empty pages when flashing something on a NAND.
+
+config CMD_NAND_LOCK_UNLOCK
+       bool "nand lock/unlock"
+       help
+         NAND locking support.
+
+config CMD_NAND_TORTURE
+       bool "nand torture"
+       help
+         NAND torture support.
+
+endif # CMD_NAND
+
 config CMD_PART
        bool "part"
        select PARTITION_UUIDS