summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-04 22:34:58 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-11 21:44:50 (GMT)
commit7a7643184597a72e3b3791de068a402dfc4a66ec (patch)
tree35e4374189e58c7991b09ad573e684a98c1291bf /cmd
parent9b92a8d76ad7efdcda58a4da1a773cf4674cdc86 (diff)
downloadu-boot-fsl-qoriq-7a7643184597a72e3b3791de068a402dfc4a66ec.tar.xz
Convert CONFIG_CMD_YAFFS2 to Kconfig
This converts the following to Kconfig: CONFIG_CMD_YAFFS2 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig11
-rw-r--r--cmd/Makefile2
2 files changed, 12 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 3dfc94a..a5c557e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1369,6 +1369,17 @@ config CMD_SCSI
scan the bus, reset the bus, read and write data and get information
about devices.
+config CMD_YAFFS2
+ bool "yaffs2 - Access of YAFFS2 filesystem"
+ depends on YAFFS2
+ default y
+ help
+ This provides commands for accessing a YAFFS2 filesystem. Yet
+ Another Flash Filesystem 2 is a filesystem designed specifically
+ for NAND flash. It incorporates bad-block management and ensures
+ that device writes are sequential regardless of filesystem
+ activity.
+
endmenu
menu "Debug commands"
diff --git a/cmd/Makefile b/cmd/Makefile
index a85fe25..1bf6e3f 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -132,7 +132,7 @@ obj-$(CONFIG_CMD_FS_UUID) += fs_uuid.o
obj-$(CONFIG_CMD_USB_MASS_STORAGE) += usb_mass_storage.o
obj-$(CONFIG_CMD_THOR_DOWNLOAD) += thordown.o
obj-$(CONFIG_CMD_XIMG) += ximg.o
-obj-$(CONFIG_YAFFS2) += yaffs2.o
+obj-$(CONFIG_CMD_YAFFS2) += yaffs2.o
obj-$(CONFIG_CMD_SPL) += spl.o
obj-$(CONFIG_CMD_ZIP) += zip.o
obj-$(CONFIG_CMD_ZFS) += zfs.o