Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT
We move all instances of CONFIG_MTDIDS_DEFAULT and
CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files.
There's a few cases here where we need to expand upon what was in the
header file.
Tested-by: Adam Ford <aford173@gmail.com> #omap3_logic
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/cmd/Kconfig b/cmd/Kconfig
index ce81b4c..5a6afab 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1404,13 +1404,14 @@
config MTDIDS_DEFAULT
string "Default MTD IDs"
- depends on CMD_MTDPARTS
+ depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
help
- Defines a default MTD ID
+ Defines a default MTD IDs list for use with MTD partitions in the
+ Linux MTD command line partitions format.
config MTDPARTS_DEFAULT
string "Default MTD partition scheme"
- depends on CMD_MTDPARTS
+ depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
help
Defines a default MTD partitioning scheme in the Linux MTD command
line partitions format