[PATCH] mmc: dw_mmc: set host_caps mmc modes to equivalent and lower buswidth

2022-03-07 Thread Jan Havran
dwmci_setup_cfg was clearing all modes except the mode equivalent to required bus width. Moreover, for buswidth = 1 was set the 4-bit mode. This sets host caps to all modes from 1-bit up to the required mode. Signed-off-by: Jan Havran --- drivers/mmc/dw_mmc.c | 10 ++ 1 file changed, 6

[U-Boot] [PATCH] mmc: dw_mmc: set host_caps mmc modes to equivalent buswidth and lower

2018-08-31 Thread Jan Havran
dwmci_setup_cfg was clearing all modes except the mode equivalent to required bus width. Moreover, for buswidth = 1 was set the 4-bit mode. This sets host caps to all modes from 1-bit up to required mode. Signed-off-by: Jan Havran --- drivers/mmc/dw_mmc.c | 10 ++ 1 file changed, 6