mbox series

[0/2] mmc: mmci/mmc_test: update mmc_erase management

Message ID 20210204120547.15381-1-yann.gautier@foss.st.com (mailing list archive)
Headers show
Series mmc: mmci/mmc_test: update mmc_erase management | expand

Message

Yann Gautier Feb. 4, 2021, 12:05 p.m. UTC
From: Yann Gautier <yann.gautier@foss.st.com>

We are facing issues when testing STM32MP157C-EV1 board with latest MMC
developments.

The commands with R1B responses weren't correctly managed, needing
MMC_CAP_NEED_RSP_BUSY.
The Ux500 platforms have the same busy detection feature, so this
flag is enabled for them too. But this change has only been tested
on STM32MP1 boards, as I don't have ux500 hardware.

The mmc_test should rely on the erase argument set in the framework,
when using MMC_ERASE command.

Yann Gautier (2):
  mmc: mmci: enable MMC_CAP_NEED_RSP_BUSY
  mmc: mmc_test: use erase_arg for mmc_erase command

 drivers/mmc/core/mmc_test.c | 2 +-
 drivers/mmc/host/mmci.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)