]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Add support for enumerating MMC card in a given mode using mmc command
authorAswath Govindraju <a-govindraju@ti.com>
Fri, 13 Aug 2021 17:34:41 +0000 (23:04 +0530)
committerPeng Fan <peng.fan@nxp.com>
Fri, 10 Sep 2021 10:17:04 +0000 (18:17 +0800)
commit19f7a34a4642e25aa8b80c6d75129fe7848a158d
tree74c326eca33b00ff58048c052749f9452725fc13
parent4a3ea75de4c5b3053eac326bf1c753ed65df8cb9
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>
cmd/Kconfig
cmd/mmc.c
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc.c
include/mmc.h