]> git.baikalelectronics.ru Git - uboot.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)
commit7b8c7d21ecb8b80ec7f8e51ab5e92c5eda585ded
tree74c326eca33b00ff58048c052749f9452725fc13
parent48585e0b3740ac36a914b9c09a2a245b115443e0
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