UPSTREAM: Convert CONFIG_UBI_SILENCE_MSG to Kconfig

Change-Id: I0ba60a6d86cd7f4777f91027fc9da3f4db855114
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit c0ce4ceaba03fa6ddf738628344025c44fc78dd4)
This commit is contained in:
Petr Vorel 2018-03-24 01:49:24 +01:00 committed by Kever Yang
parent bc9b85f9ed
commit 0d5390ceb2
8 changed files with 10 additions and 13 deletions

6
README
View File

@ -2658,12 +2658,6 @@ FIT uImage format:
kernel. Needed for UBI support. kernel. Needed for UBI support.
- UBI support - UBI support
CONFIG_UBI_SILENCE_MSG
Make the verbose messages from UBI stop printing. This leaves
warnings and errors enabled.
CONFIG_MTD_UBI_WL_THRESHOLD CONFIG_MTD_UBI_WL_THRESHOLD
This parameter defines the maximum difference between the highest This parameter defines the maximum difference between the highest
erase counter value and the lowest erase counter value of eraseblocks erase counter value and the lowest erase counter value of eraseblocks

View File

@ -47,6 +47,7 @@ CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FAT=y CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_UBI=y CONFIG_CMD_UBI=y
CONFIG_UBI_SILENCE_MSG=y
# CONFIG_CMD_UBIFS is not set # CONFIG_CMD_UBIFS is not set
CONFIG_ISO_PARTITION=y CONFIG_ISO_PARTITION=y
CONFIG_EFI_PARTITION=y CONFIG_EFI_PARTITION=y

View File

@ -27,6 +27,7 @@ CONFIG_CMD_SPI=y
CONFIG_CMD_CACHE=y CONFIG_CMD_CACHE=y
CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_UBI=y CONFIG_CMD_UBI=y
CONFIG_UBI_SILENCE_MSG=y
# CONFIG_CMD_UBIFS is not set # CONFIG_CMD_UBIFS is not set
CONFIG_NET_RANDOM_ETHADDR=y CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_MMC_OMAP_HS=y CONFIG_MMC_OMAP_HS=y

View File

@ -27,6 +27,7 @@ CONFIG_CMD_SPI=y
CONFIG_CMD_CACHE=y CONFIG_CMD_CACHE=y
CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_UBI=y CONFIG_CMD_UBI=y
CONFIG_UBI_SILENCE_MSG=y
# CONFIG_CMD_UBIFS is not set # CONFIG_CMD_UBIFS is not set
CONFIG_NET_RANDOM_ETHADDR=y CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_MMC_OMAP_HS=y CONFIG_MMC_OMAP_HS=y

View File

@ -1,5 +1,12 @@
menu "UBI support" menu "UBI support"
config CONFIG_UBI_SILENCE_MSG
bool "UBI silence verbose messages"
default ENV_IS_IN_UBI
help
Make the verbose messages from UBI stop printing. This leaves
warnings and errors enabled.
config MTD_UBI config MTD_UBI
bool "Enable UBI - Unsorted block images" bool "Enable UBI - Unsorted block images"
select CRC32 select CRC32

View File

@ -22,10 +22,6 @@
#define CONFIG_ENV_SIZE (96 << 10) /* 96 KiB */ #define CONFIG_ENV_SIZE (96 << 10) /* 96 KiB */
/* Make the verbose messages from UBI stop printing */
#define CONFIG_UBI_SILENCE_MSG
#define CONFIG_UBIFS_SILENCE_MSG
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
#ifndef CONFIG_SPL_BUILD #ifndef CONFIG_SPL_BUILD

View File

@ -154,8 +154,6 @@
#define CONFIG_ENV_UBI_PART "UBI" #define CONFIG_ENV_UBI_PART "UBI"
#define CONFIG_ENV_UBI_VOLUME "config" #define CONFIG_ENV_UBI_VOLUME "config"
#define CONFIG_ENV_UBI_VOLUME_REDUND "config_r" #define CONFIG_ENV_UBI_VOLUME_REDUND "config_r"
#define CONFIG_UBI_SILENCE_MSG 1
#define CONFIG_UBIFS_SILENCE_MSG 1
#define CONFIG_ENV_SIZE (32*1024) #define CONFIG_ENV_SIZE (32*1024)
#endif /* __IGEP00X0_H */ #endif /* __IGEP00X0_H */

View File

@ -4908,7 +4908,6 @@ CONFIG_UBIBLOCK
CONFIG_UBIFS_SILENCE_MSG CONFIG_UBIFS_SILENCE_MSG
CONFIG_UBIFS_VOLUME CONFIG_UBIFS_VOLUME
CONFIG_UBI_PART CONFIG_UBI_PART
CONFIG_UBI_SILENCE_MSG
CONFIG_UBI_SIZE CONFIG_UBI_SIZE
CONFIG_UBOOT1_ENV_ADDR CONFIG_UBOOT1_ENV_ADDR
CONFIG_UBOOT2_ENV_ADDR CONFIG_UBOOT2_ENV_ADDR