Files
u-boot/drivers
Yanir Levin 124aeeff83 mmc: Fix retry logic in sd_get_capabilities
In sd_get_capabilities an ACMD is sent (SD_CMD_APP_SEND_SCR),
which requires sending APP_CMD (MMC_CMD_APP_CMD) before.

Currently, the ACMD is retried on error, however APP_CMD isn't.
In this case, when the ACMD fails and it is tried again,
the retry attempts will not be handled as ACMD, which is wrong.

The fix performs the retry attempts on the sequence of
APP_CMD and the ACMD together.

Signed-off-by: Yanir Levin <yanir.levin@tandemg.com>
Reviewed-by: Eran Moshe <emoshe@gsitechnology.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2026-01-22 10:38:50 +08:00
..
2025-10-30 12:32:12 -06:00
2026-01-15 09:25:21 +01:00
2025-06-02 17:26:16 -06:00
2026-01-21 12:05:15 -06:00
2026-01-21 12:05:15 -06:00
2026-01-02 15:51:54 -06:00
2025-08-27 15:49:59 +08:00
2026-01-02 10:28:14 -06:00
2025-11-28 16:39:08 -06:00
2025-08-14 10:58:46 -06:00
2026-01-14 16:25:09 +01:00
2025-10-14 10:42:27 +03:00
2026-01-21 12:05:15 -06:00
2025-11-07 15:34:22 -06:00