summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2021-08-13 20:34:41 +0300
committerPeng Fan <peng.fan@nxp.com>2021-09-10 13:17:04 +0300
commit19f7a34a4642e25aa8b80c6d75129fe7848a158d (patch)
tree74c326eca33b00ff58048c052749f9452725fc13 /cmd/Kconfig
parent4a3ea75de4c5b3053eac326bf1c753ed65df8cb9 (diff)
downloadu-boot-19f7a34a4642e25aa8b80c6d75129fe7848a158d.tar.xz
mmc: Add support for enumerating MMC card in a given mode using mmc command
Add support for enumerating MMC card in a given mode using mmc rescan and mmc dev commands. The speed mode is provided as the last argument in these commands and is indicated using the index from enum bus_mode in include/mmc.h. A speed mode can be set only if it has already been enabled in the device tree. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index ffef3cc76c..3a857b3f6e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2389,4 +2389,14 @@ config CMD_UBIFS
help
UBIFS is a file system for flash devices which works on top of UBI.
+config MMC_SPEED_MODE_SET
+ bool "set speed mode using mmc command"
+ depends on CMD_MMC
+ default n
+ help
+ Enable setting speed mode using mmc rescan and mmc dev commands.
+ The speed mode is provided as the last argument in these commands
+ and is indicated using the index from enum bus_mode in
+ include/mmc.h. A speed mode can be set only if it has already
+ been enabled in the device tree.
endmenu