summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-02-27 17:22:04 (GMT)
committerJagan Teki <jagan@amarulasolutions.com>2017-04-07 05:53:45 (GMT)
commit0269dfae0e9f0303e3f0044e90a1ba476e8328f2 (patch)
tree9a0c2dd4df0be378e3d2a548cbf6e3e84a7ac942 /cmd/Kconfig
parentfb1c43cc37ae45c6c0576d976a53b9222819691c (diff)
downloadu-boot-fsl-qoriq-0269dfae0e9f0303e3f0044e90a1ba476e8328f2.tar.xz
cmd: Add Kconfig option for CMD_MTDPARTS and related options
CMD_MTDPARTS is something the user might or might not want to select, and might depends on (or be selected by) other options too. This is even truer for the MTDIDS_DEFAULT and MTDPARTS_DEFAULT options that might change from one board to another, or from one user to the other, depending on what it expects and what storage devices are available. In order to ease that configuration, add those options to Kconfig. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 4b152f8..7404ae5 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -801,6 +801,26 @@ config CMD_FS_GENERIC
help
Enables filesystem commands (e.g. load, ls) that work for multiple
fs types.
+
+config CMD_MTDPARTS
+ depends on ARCH_SUNXI
+ bool "MTD partition support"
+ help
+ MTD partition support
+
+config MTDIDS_DEFAULT
+ string "Default MTD IDs"
+ depends on CMD_MTDPARTS
+ help
+ Defines a default MTD ID
+
+config MTDPARTS_DEFAULT
+ string "Default MTD partition scheme"
+ depends on CMD_MTDPARTS
+ help
+ Defines a default MTD partitioning scheme in the Linux MTD command
+ line partitions format
+
endmenu
config CMD_UBI