summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-04 16:34:41 -0600
committerTom Rini <trini@konsulko.com>2017-08-11 15:41:54 -0400
commitf8803a99fe077b7b00a2bcafb79ce623899f0aa3 (patch)
tree1e602ffbcf6ab5a15d717b658d6fcfe08b911b2f
parentfa379223cd61052331342e525778d96270ee6ed9 (diff)
Convert CONFIG_CMD_REISER to Kconfig
This converts the following to Kconfig: CONFIG_CMD_REISER 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>
-rw-r--r--cmd/Kconfig9
-rw-r--r--configs/ethernut5_defconfig1
-rw-r--r--include/config_cmd_all.h1
-rw-r--r--include/configs/ethernut5.h1
-rw-r--r--scripts/config_whitelist.txt1
5 files changed, 10 insertions, 3 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 2caa0b42d8..d623a43191 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1275,6 +1275,15 @@ config CMD_MTDPARTS_SPREAD
at least as large as the size specified in the mtdparts variable and
2) each partition starts on a good block.
+config CMD_REISER
+ bool "reiser - Access to reiserfs filesystems"
+ help
+ This provides two commands which operate on a resierfs filesystem,
+ commonly used some years ago:
+
+ reiserls - list files
+ reiserload - load a file
+
endmenu
menu "Debug commands"
diff --git a/configs/ethernut5_defconfig b/configs/ethernut5_defconfig
index b9010d6d37..26df916071 100644
--- a/configs/ethernut5_defconfig
+++ b/configs/ethernut5_defconfig
@@ -33,6 +33,7 @@ CONFIG_CMD_DATE=y
CONFIG_CMD_EXT2=y
CONFIG_CMD_FAT=y
CONFIG_CMD_JFFS2=y
+CONFIG_CMD_REISER=y
CONFIG_CMD_UBI=y
CONFIG_OF_CONTROL=y
CONFIG_DM=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index cb0ab6d61a..00bc6fc88a 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
* Alphabetical list of all possible commands.
*/
-#define CONFIG_CMD_REISER /* Reiserfs support */
#define CONFIG_CMD_SANDBOX /* sb command to access sandbox features */
#define CONFIG_CMD_SAVES /* save S record dump */
#define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index 756b1d6da0..5aa091b0df 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -61,7 +61,6 @@
#define CONFIG_ENV_SPI_MAX_HZ 15000000
#ifndef MINIMAL_LOADER
-#define CONFIG_CMD_REISER
#define CONFIG_CMD_SAVES
#endif
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 888af42524..5bc16fb77d 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_REISER
CONFIG_CMD_SANDBOX
CONFIG_CMD_SAVES
CONFIG_CMD_SCSI