summaryrefslogtreecommitdiff
path: root/miscutils/nandwrite.c
diff options
context:
space:
mode:
authorDenys Vlasenko2011-08-13 09:00:29 +0200
committerDenys Vlasenko2011-08-13 09:00:29 +0200
commitc97578de6b283592265fd9132df7d878f6ec6530 (patch)
treefcb416a675dd47654ef744c4c1587dfaaca6301b /miscutils/nandwrite.c
parent8b141ebd456f6899133c53f0cf833c09a922a6cf (diff)
downloadbusybox-c97578de6b283592265fd9132df7d878f6ec6530.zip
busybox-c97578de6b283592265fd9132df7d878f6ec6530.tar.gz
conspy,nandwrite,nanddump: enable in defconfig
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/nandwrite.c')
-rw-r--r--miscutils/nandwrite.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c
index 562a342..2ba6e3f 100644
--- a/miscutils/nandwrite.c
+++ b/miscutils/nandwrite.c
@@ -8,26 +8,26 @@
* TODO: add support for large (>4GB) MTD devices
*/
-//applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP))
-//applet:IF_NANDWRITE(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump))
-
-//kbuild:lib-$(CONFIG_NANDWRITE) += nandwrite.o
-//kbuild:lib-$(CONFIG_NANDDUMP) += nandwrite.o
-
//config:config NANDWRITE
//config: bool "nandwrite"
-//config: default n
+//config: default y
//config: select PLATFORM_LINUX
//config: help
//config: Write to the specified MTD device, with bad blocks awareness
//config:
//config:config NANDDUMP
//config: bool "nanddump"
-//config: default n
+//config: default y
//config: select PLATFORM_LINUX
//config: help
//config: Dump the content of raw NAND chip
+//applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP))
+//applet:IF_NANDWRITE(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump))
+
+//kbuild:lib-$(CONFIG_NANDWRITE) += nandwrite.o
+//kbuild:lib-$(CONFIG_NANDDUMP) += nandwrite.o
+
//usage:#define nandwrite_trivial_usage
//usage: "[-p] [-s ADDR] MTD_DEVICE [FILE]"
//usage:#define nandwrite_full_usage "\n\n"