From f8803a99fe077b7b00a2bcafb79ce623899f0aa3 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 4 Aug 2017 16:34:41 -0600 Subject: [PATCH] Convert CONFIG_CMD_REISER to Kconfig This converts the following to Kconfig: CONFIG_CMD_REISER Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Philipp Tomsich --- 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 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 -- 2.39.5