configs: remove CONFIG_SYS_MVFS

This was being used by some Marvell boards to enable some file system
related features (many of which have already been moved to Kconfig).
Make the future migration of the final 2 or 3 config options easier by
expanding #define CONFIG_SYS_MVFS into the options that it enables and
remove CONFIG_SYS_MVFS.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Chris Packham 2018-05-26 22:32:29 +12:00 committed by Stefan Roese
parent bba769d3ae
commit e85f490a47
14 changed files with 22 additions and 31 deletions

5
README
View File

@ -331,11 +331,6 @@ The following options need to be configured:
- Board Type: Define exactly one, e.g. CONFIG_MPC8540ADS.
- Marvell Family Member
CONFIG_SYS_MVFS - define it if you want to enable
multiple fs option at one time
for marvell soc family
- 85xx CPU Options:
CONFIG_SYS_PPC64

View File

@ -27,7 +27,8 @@
/*
* Commands configuration
*/
#define CONFIG_SYS_MVFS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
#define CONFIG_NR_DRAM_BANKS 1

View File

@ -61,7 +61,8 @@
#endif
/* why is this only defined in mv-common.h if CONFIG_DM is undefined? */
#define CONFIG_SYS_MVFS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-common.h should be defined after CMD configs since it used them

View File

@ -41,7 +41,8 @@
* Commands configuration
*/
#define CONFIG_SYS_MVFS /* Picks up Filesystem from mv-common.h */
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-common.h should be defined after CMD configs since it used them

View File

@ -17,7 +17,9 @@
/*
* Standard filesystems
*/
#define CONFIG_SYS_MVFS
#define CONFIG_BZIP2
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-plug-common.h should be defined after CMD configs since it used them

View File

@ -26,7 +26,8 @@
/*
* Commands configuration
*/
#define CONFIG_SYS_MVFS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-common.h should be defined after CMD configs since it used them

View File

@ -28,7 +28,8 @@
/*
* Commands configuration
*/
#define CONFIG_SYS_MVFS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-common.h should be defined after CMD configs since it used them

View File

@ -97,12 +97,4 @@
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#endif
/*
* File system
*/
#ifdef CONFIG_SYS_MVFS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
#endif
#endif /* _MV_COMMON_H */

View File

@ -16,13 +16,6 @@
/* Add target to build it automatically upon "make" */
#define CONFIG_BUILD_TARGET "u-boot.kwb"
/*
* Compression configuration
*/
#ifdef CONFIG_SYS_MVFS
#define CONFIG_BZIP2
#endif /* CONFIG_SYS_MVFS */
/*
* mv-common.h should be defined after CMD configs since it used them
* to enable certain macros

View File

@ -22,7 +22,8 @@
#define CONFIG_BZIP2
/* commands configuration */
#define CONFIG_SYS_MVFS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-common.h should be defined after CMD configs since it used them

View File

@ -23,7 +23,8 @@
/*
* Commands configuration
*/
#define CONFIG_SYS_MVFS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-common.h should be defined after CMD configs since it used them

View File

@ -27,7 +27,8 @@
/*
* Commands configuration
*/
#define CONFIG_SYS_MVFS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-common.h should be defined after CMD configs since it used them

View File

@ -21,7 +21,9 @@
/*
* Standard filesystems
*/
#define CONFIG_SYS_MVFS
#define CONFIG_BZIP2
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
/*
* mv-plug-common.h should be defined after CMD configs since it used them

View File

@ -3578,7 +3578,6 @@ CONFIG_SYS_MSC0_VAL
CONFIG_SYS_MSC1_VAL
CONFIG_SYS_MSC2_VAL
CONFIG_SYS_MTDPARTS_RUNTIME
CONFIG_SYS_MVFS
CONFIG_SYS_MX5_CLK32
CONFIG_SYS_MX5_HCLK
CONFIG_SYS_MX6_CLK32