mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Peng Fan
parent
4a3ea75de4
commit
19f7a34a46
@@ -726,6 +726,8 @@ struct mmc {
|
||||
*/
|
||||
u32 quirks;
|
||||
u8 hs400_tuning;
|
||||
|
||||
enum bus_mode user_speed_mode; /* input speed mode from user */
|
||||
};
|
||||
|
||||
#if CONFIG_IS_ENABLED(DM_MMC)
|
||||
|
Reference in New Issue
Block a user