summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-02-27 17:22:07 (GMT)
committerJagan Teki <jagan@amarulasolutions.com>2017-04-07 05:53:45 (GMT)
commite915d2012fe80f0c1efd9e2bb67cc932107d88f1 (patch)
treeabbd867af2f8ee4dee052d32bf0b05b947a05213 /cmd
parent173aafbf9dbb55f7e0133110d7f1a80a71db740e (diff)
downloadu-boot-fsl-qoriq-e915d2012fe80f0c1efd9e2bb67cc932107d88f1.tar.xz
cmd: nand: Expose optional suboptions in Kconfig
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 7c1f81a..661bee2 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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