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>
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 2caa0b4..d623a43 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1275,6 +1275,15 @@
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 b9010d6..26df916 100644
--- a/configs/ethernut5_defconfig
+++ b/configs/ethernut5_defconfig
@@ -33,6 +33,7 @@
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 cb0ab6d..00bc6fc 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 756b1d6..5aa091b 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 888af42..5bc16fb 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -293,7 +293,6 @@
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_REISER
CONFIG_CMD_SANDBOX
CONFIG_CMD_SAVES
CONFIG_CMD_SCSI