[U-Boot] [PATCH v2 17/42] Convert CONFIG_CMD_REISER to Kconfig

Simon Glass sjg at chromium.org
Fri Aug 4 22:34:41 UTC 2017


This converts the following to Kconfig:
   CONFIG_CMD_REISER

Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v2: None

 cmd/Kconfig                  | 9 +++++++++
 configs/ethernut5_defconfig  | 1 +
 include/config_cmd_all.h     | 1 -
 include/configs/ethernut5.h  | 1 -
 scripts/config_whitelist.txt | 1 -
 5 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 070536ac23..6a39e26256 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1266,6 +1266,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 65a21732e7..6a34363f1e 100644
--- a/configs/ethernut5_defconfig
+++ b/configs/ethernut5_defconfig
@@ -31,6 +31,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_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=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 8bec154f43..cdad2e6d49 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -83,7 +83,6 @@
 #define CONFIG_AT91_GPIO
 
 #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 01087839ee..64f18f0af1 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,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
-- 
2.14.0.rc1.383.gd1ce394fe2-goog



More information about the U-Boot mailing list