diff mbox

[U-Boot,v5,8/16] cmd: nand: Expose optional suboptions in Kconfig

Message ID a8467780db436f821cbb4113bd456c6deb0d34e0.1488215509.git-series.maxime.ripard@free-electrons.com
State Accepted
Commit e915d2012fe80f0c1efd9e2bb67cc932107d88f1
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Maxime Ripard Feb. 27, 2017, 5:22 p.m. UTC
From: Boris Brezillon <boris.brezillon@free-electrons.com>

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>
---
 cmd/Kconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 66d3273fac6f..4e7c0fbcdee5 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -441,6 +441,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