diff mbox

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

Message ID 20170804223506.105306-18-sjg@chromium.org
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass Aug. 4, 2017, 10:34 p.m. UTC
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>
---

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(-)

Comments

Philipp Tomsich Aug. 5, 2017, 9:54 a.m. UTC | #1
> 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>
> ---
> 
> 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(-)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tom Rini Aug. 12, 2017, 1:13 p.m. UTC | #2
On Fri, Aug 04, 2017 at 04:34:41PM -0600, Simon Glass wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

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