diff options
author | Yann Gautier <yann.gautier@st.com> | 2018-09-28 16:48:37 +0200 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2018-09-28 16:48:37 +0200 |
commit | 97d5db8c5cb95c7ce69ff4d36bcda2aeda143576 (patch) | |
tree | b61812834ef6dd035c87aaaee00842624f46541a /drivers/synopsys | |
parent | 07a2fd6af6a74df278be9d4b757e4ad037fd1687 (diff) |
mmc: Update framework to use standard response type
Respect official response type and update response to follow
official specification.
All the MMC_RESPONSE_R(_x) are replaced with each corresponding define.
Partly revert 2a82a9c95f6c06079f58d69315544a6b49cf64a4 for dw_mmc.c:
Responses R1, R1B and R5 have CRC.
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'drivers/synopsys')
-rw-r--r-- | drivers/synopsys/emmc/dw_mmc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/synopsys/emmc/dw_mmc.c b/drivers/synopsys/emmc/dw_mmc.c index c544233f..eb428198 100644 --- a/drivers/synopsys/emmc/dw_mmc.c +++ b/drivers/synopsys/emmc/dw_mmc.c @@ -263,10 +263,7 @@ static int dw_send_cmd(struct mmc_cmd *cmd) op |= CMD_RESP_EXPECT | CMD_CHECK_RESP_CRC | CMD_RESP_LEN; break; - case MMC_RESPONSE_R1: - case MMC_RESPONSE_R1B: case MMC_RESPONSE_R3: - case MMC_RESPONSE_R5: op |= CMD_RESP_EXPECT; break; default: |